当前位置: 首页 > news >正文

网站空格键代码湖南建立网站营销策划

网站空格键代码,湖南建立网站营销策划,加盟做地方门户网站,知名品牌logo标志设计解析介绍 本文章主要介绍安卓检查通话自动录音功能是否开启,并跳转到相应的开启页面,主要介绍小米,华为、vivo和oppo手机,其他手机暂不做介绍 检查手机自动录音 小米 /*** 检查小米手机自动录音功能是否开启,true已开启 false未开启** @return*/private boolean checkXia…介绍 本文章主要介绍安卓检查通话自动录音功能是否开启,并跳转到相应的开启页面,主要介绍小米,华为、vivo和oppo手机,其他手机暂不做介绍 检查手机自动录音 小米 /*** 检查小米手机自动录音功能是否开启,true已开启 false未开启** @return*/private boolean checkXiaomiRecord() throws Settings.SettingNotFoundException {int key = Settings.System.getInt(mContext.getContentResolver(), "button_auto_record_call"); // XLog.d(TAG, "Xiaomi key:" + key);//0是未开启,1是开启return key != 0;} OPPO /*** 检查OPPO手机自动录音功能是否开启,true已开启 false未开启** @return*/private boolean checkOppoRecord() throws Settings.SettingNotFoundException {int key = Settings.Global.getInt(mContext.getContentResolver(), "oplus_customize_all_call_audio_record"); // int key = Settings.Global.getInt(mContext.getContentResolver(), "oppo_all_call_audio_record"); // XLog.d(TAG, "Oppo key:" + key);//0代表OPPO自动录音未开启,1代表OPPO自动录音已开启return key != 0;} VIVO /*** 检查VIVO自动录音功能是否开启,true已开启 false未开启** @return*/private boolean checkVivoRecord() throws Settings.SettingNotFoundException {int key = Settings.Global.getInt(mContext.getContentResolver(), "call_record_state_global"); // XLog.d(TAG, "Vivo key:" + key);//0代表VIVO自动录音未开启,1代表VIVO所有通话自动录音已开启,2代表指定号码自动录音return key == 1;} 华为 /*** 检查华为手机自动录音功能是否开启,true已开启 false未开启** @return*/private boolean checkHuaweiRecord() throws Settings.SettingNotFoundException {int key = Settings.Secure.getInt(mContext.getContentResolver(), "enable_record_auto_key"); // XLog.d(TAG, "Huawei key:" + key);//0代表华为自动录音未开启,1代表华为自动录音已开启return key != 0;} 跳转页面 小米 /*** 跳转到小米开启通话自动录音功能页面*/private void startXiaomiRecord() {ComponentName componentName = new ComponentName("com.android.phone", "com.android.phone.settings.CallRecordSetting");Intent intent = new Intent();intent.setComponent(componentName);intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);mContext.startActivity(intent);} oppo /*** 跳转到OPPO开启通话自动录音功能页面*/private void startOppoRecord() {ComponentName componentName = new ComponentName("com.android.phone", "com.android.phone.OplusCallFeaturesSetting");Intent intent = new Intent();intent.setComponent(componentName);intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);mContext.startActivity(intent);} vivo /*** 跳转到VIVO开启通话自动录音功能页面*/private void startVivoRecord() {ComponentName componentName = new ComponentName("com.android.incallui", "com.android.incallui.record.CallRecordSetting");Intent intent = new Intent();intent.setComponent(componentName);intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);mContext.startActivity(intent);} 华为 /*** 跳转到华为开启通话自动录音功能页面*/private void startHuaweiRecord() {ComponentName componentName = new ComponentName("com.android.phone", "com.android.phone.MSimCallFeaturesSetting"); // ComponentName componentName = new C
http://www.pierceye.com/news/397668/

相关文章:

  • 乐山市规划和建设局网站房地产基础知识
  • 网站给假冒伪劣产品做推广鞍山网站制作一般需要多少钱
  • 番禺网站开发哪里好ppt模板免费下载完整版免费简约
  • 哪个公司做企业网站好济南网站优化推广公司电话
  • 深圳网站建设外包公司网站流量提供商
  • 网站建设优化服务信息wordpress下载类插件
  • 深圳做网站google推广百度优化是什么
  • 网站开发技术服务费分享经济网站怎么建设
  • 免费seo网站推广在线观看360免费wifi创建失败
  • 服装网站开发嵌入式硬件开发
  • 上海建设厅网站那些网站可以做自媒体
  • 如何查看一个网站流量网店美工课程心得体会
  • 邯郸的网站建设无锡做网站品牌公司
  • 汇编做网站门户网站建设 知乎
  • 教育云平台网站建设云南小程序定制开发
  • 企业自助建站策划方案横沥网站设计
  • 网站开发搜索功能怎么实现中小网站建设都有哪些方案
  • 学科网站建设网页制作和网页制作
  • 公司网站模板大全网站文章编辑
  • 旅游网站建设的总结wordpress多域名移动主题
  • 深圳做网站推荐哪家公司好附近广告公司联系电话
  • 网站建设和网站优化哪个更重要提供邯郸网站建设
  • 做网站一般把宽度做多少合肥优化
  • 石家庄做网站公司汉狮价格猴痘的治疗方法
  • 自己有网站 做app吗深圳罗湖企业网站推广
  • 廊坊建设局网站6阿里云虚拟主机网站
  • 设计一个电商网站西安seo盐城
  • 上海网站公司建设网页设计网站欣赏
  • 平台网站如何做推广1280的界面网站做多宽
  • 男男做爰视频网站微信扫码点餐小程序怎么做