找回密码
 立即注册
相关推荐换一批
  1. 织梦CMS精仿QQ技术导航网站源码
  2. WordPress响应式主题CorePress v2.6
  3. 小水滴2.0导航模板去授权破解版
  4. 最新卡卡云模板V1.0适配彩虹代唰系统
  5. JT/T 1236-2019 公路声屏障紧急疏散出口设置要求
  6. GA/T 851-2009 人行横道信号灯控制设置规范
  7. YD/T 1524-2006 互联网域名、IP 地址拦截技术要求
  8. YD/T 1525-2006 互联网域名、IP 地址拦截设备测试方法
  9. YD/T 1405-2005 公用电信网间电话业务路由设置的技术要求
  10. GA/T 1047-2013 道路交通信息监测记录设备设置规范
  11. YY/T 0457.7-2003/IEC 61262-7: 1995 医用电气设备光电X射线影像增强器特性 第7部分
  12. TB/T 3509.1-2018 铁路运输标识第1部分:货运
  13. YY/T 1279-2015 三维超声成像性能试验方法
  14. YY/T 0864-2011 医用内窥镜内窥镜功能供给装置液体膨腔泵
  15. YY/T 0906-2013 B型超声诊断设备性能试验方法配接腔内探头
  16. GB/T 31384-2024旅游景区公共信息导向系统设置规范
  17. NB/T 20424-2017 核电厂限流孔板设置要求
  18. GB/T 15566.3-2020 公共信息导向系统 设置原则与要求 第3部分:铁路旅客车站
  19. DL/T 785-2001 火力发电厂中温中压管道(件)安全技术导则
  20. GA/T 1567-2019 城市道路交通隔离栏设置指南
  21. GB∕T 37915-2019 社区商业设施设置与功能要求
  22. DB11 844-2012 公路护栏设置规范
  23. 中山大学附属小学2016-2017学年度一年级英语上学期期末学业水平测试卷
  24. 2013年新派英语一年级下册期末综合测试卷(含听力材料与参考答案)
the设置拦截NUMBER | android开发 2022-05-30 190 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
源代码介绍
先说以下几点: 1、电话拦截的功能大家可能都知道,就是利用反射原理调用ITelephony的隐藏方法来实现。这个就不说了,附上代码。 2、拦截后提示忙音/空号/关机/关机的功能其实就是使用MMI命令。具体如何设置呼叫转移指定,我们将使用“忙转”。转换功能。中G移动的设置方法是**67#PhoneNumber#,取消方法是##67#。这两个命令可以直接在手机拨号界面输入进行测试。 ITelephony 的 endcall 方法挂断电话后,会提示电话忙。如果提前设置忙时转接空/关机/关机电话号码,则会提示您拨打的电话号码为空/关机/关机。其实你可以下载 xxx Guard 看看。设置呼叫拒绝模式后,将启动设置MMI命令的界面。然后转到“设置” > “通话设置” > “呼叫转移”,查看“忙时转移”中设置的电话号码,然后您可以知道对应的电话号码为空/关闭/关闭。附件是演示项目文件。有几点需要说明: 1.修改变量BLOCKED_NUMBER的值,设置为你要测试截取的电话号码。 2. 所有功能都在一个Activity中实现,所以你应该先运行这个Activity,然后点击“设置呼叫转移”。设置来电转接后,不要关闭该Activity,将无法拦截来电。有兴趣的朋友可以写一个Service在后台运行拦截功能。已经修改为可以拦截短信的版本,希望对大家有用。

(Source code introduction
Let's start with the following points: 1. As we all know, the function of telephone interception is realized by calling the hidden method of itelephony based on the reflection principle. I won't say this, but attach the code. 2. The function of prompting busy tone / empty number / shutdown / shutdown after interception is actually to use MMI commands. We will use "busy forwarding" to specify how to set call forwarding. Conversion function. The setting method of China Mobile is * * 67 \phonenumber\and the cancellation method is \67\. These two commands can be directly input in the mobile phone dialing interface for testing. After the itelephony endcall method hangs up the phone, it will prompt that the phone is busy. If the busy hour transfer empty / off / off phone number is set in advance, you will be prompted to dial an empty / off / off phone number. In fact, you can download XXX guard to have a look. After setting the call rejection mode, the interface for setting MMI commands will be started. Then go to settings & Gt; & call settings; Gt; "Call forwarding", check the phone number set in "busy time forwarding", and then you can know that the corresponding phone number is empty / off / off. Attached is the demonstration project file. There are several points to be explained: 1 Modify variable blocked_ The value of number is set to the phone number you want to test for interception. 2. all functions are implemented in one activity, so you should run the activity first, and then click "set call forwarding". After setting the incoming call forwarding, do not close the activity, and you will not be able to intercept incoming calls. Interested friends can write a service to run the interception function in the background. It has been modified to the version that can intercept SMS. I hope it is useful to you.)

[下载]10443351499.rar




上一篇:Android 类似搜狗输入法android源码
下一篇:Android 具有伸缩效果的ListView源码