首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏全栈程序员必看

    Android telephony_android获取真实时间

    android.permission.READ_PHONE_STATE"/> //首先获取手机管理者类 tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE

    99720编辑于 2022-09-27
  • 来自专栏全栈程序员必看

    android telephony 原理解析与开发指南_Android逆向pdf

    接着你就会在/packages/services/Telephony/AndroidManifest.xml文件中看到: <manifest xmlns:android="http://schemas.android.com 实例注册监听事件 PhoneGlobals.java的onCreate()方法中 public void onCreate() { if (mCM == null) { // Initialize the <em>telephony</em>

    1.6K30编辑于 2022-09-20
  • 来自专栏鸿蒙开发笔记

    OpenHarmony源码解析之电话子系统——通话流程

    = TELEPHONY_SUCCESS) { 10\. TELEPHONY_LOGE("AnswerCall failed!"); 11\. = TELEPHONY_SUCCESS) { 8\. TELEPHONY_LOGE("Accept failed!"); 9\. = TELEPHONY_SUCCESS) { 4\. = TELEPHONY_SUCCESS) { 9\. = TELEPHONY_SUCCESS) { 7\.

    40510编辑于 2025-04-11
  • 来自专栏Android点滴积累

    Android 短信拦截及用途分析

    (action) || SmsReceiverProcessor.ANDROID_PROVIDER_TELEPHONY_SMS_RECEIVED2.equals(action = "android.provider.Telephony.SMS_RECEIVED"; public static final String ANDROID_PROVIDER_TELEPHONY_SMS_RECEIVED2 = "android.provider.Telephony.SMS_RECEIVED2"; public static final String ANDROID_PROVIDER_TELEPHONY_SMS_RECEIVED _2 = "android.provider.Telephony.SMS_RECEIVED_2"; public static final String ANDROID_PROVIDER_TELEPHONY_GSM_SMS_RECEIVED (SmsReceiverProcessor.ANDROID_PROVIDER_TELEPHONY_SMS_RECEIVED_2); filter.addAction(SmsReceiverProcessor.ANDROID_PROVIDER_TELEPHONY_GSM_SMS_RECEIVED

    3.1K60发布于 2018-01-04
  • 来自专栏python基础文章

    IPv6与VoIP——配置Cisco CME实现VoIP实验

                                               //开启CME服务 CME(config-telephony) #max-ephones 10 //定义最大用户数量 ,不能高于设备最大授权数 CME(config-telephony)#max-dn 10                       //定义允许注册的最大线路数 CME(config-telephony )#keepalive 10                   //定义保持时间为10s CME(config-telephony)fip source-address 192.168.1.254 port 2000 //定义注册使用的服务器地址和端口 CME(config-telephony)#system message Jb-Aptech company //定义待机画面显示的消息内容 CME(config-telephony CME(config-telephony)#create cnf-files             //生成XML文件 Creating CNF files CME (config-telephony

    1.4K20编辑于 2022-11-22
  • 来自专栏老欧说安卓

    Android开发笔记(五十四)数据共享接口ContentProvider

    ; mSmsColumn = new String[] { Telephony.Sms.ADDRESS, Telephony.Sms.PERSON, Telephony.Sms.BODY , Telephony.Sms.DATE, Telephony.Sms.TYPE}; } else { mSmsUri = Uri.parse("content://sms/inbox ; mMmsColumn = new String[] { Telephony.Mms.DATE, Telephony.Mms.READ, Telephony.Mms.SUBJECT , Telephony.Mms.EXPIRY, Telephony.Mms.STATUS, Telephony.Mms.MESSAGE_SIZE}; } else { mMmsUri ; mSmsColumn = new String[] { Telephony.Sms.ADDRESS, Telephony.Sms.BODY, Telephony.Sms.DATE

    1.8K20发布于 2019-01-18
  • 来自专栏小满

    android双待手机获取每一张SIM卡的imei

    = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE); try{ Class<? > telephonyClass = Class.forName(telephony.getClass().getName()); Class<? = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE); try{ Class<? > telephonyClass = Class.forName(telephony.getClass().getName()); Class<? new Object[1]; obParameter[0] = slotID; Object ob_phone = getSimStateGemini.invoke(telephony

    1.5K20发布于 2019-09-10
  • 来自专栏向治洪

    电话拦截

    首先需要 android 源码文件NeighboringCellInfo.aidl和ITelephony.aidl,新建文件夹android.telephony(文件名必须为这个名称),将文件NeighboringCellInfo.aidl 拷贝到该文件夹下,在新建另一个文件夹com.android.internal.telephony(不必须名称),将文件ITelephony.aidl放入刷新项目目录,会看到在gen目录下生成相应类代码。 详细代码如下: package com.internal.telephony;   import java.lang.reflect.Method;   import android.content.BroadcastReceiver                             // 将IBinder对象的代理转换为ITelephony对象                               ITelephony telephony ;   import android.os.Bundle;   import java.util.List;   import android.telephony.NeighboringCellInfo

    1.8K70发布于 2018-01-29
  • 来自专栏python基础文章

    网络基础项目——全网互通实验

    f0/3 Switch(config-if)#sw voice vlan 1 用两台电脑测试dhcp  电话 接上电 在两台路由器上配置电话服务 router 2 Router(config)#telephony-service Router(config-telephony)#max-ephones 10 Router(config-telephony)#max-dn 10 Router(config-telephony )#ip source-address 10.0.0.1 port 2000 Router(config-telephony)#exit Router(config)#ephone-dn 1 Router Router(config-telephony)#max-ephones 10 Router(config-telephony)#max-dn 10 Router(config-telephony )#ip source-address 20.0.0.1 port 2000 Router(config-telephony)#exit Router(config)#ephone-dn 1 Router

    84420编辑于 2023-10-15
  • 来自专栏【Android开发基础】

    android 获取设备信息

    Context context) { TelephonyManager tm = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE Context context) { TelephonyManager tm = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE Context context) { TelephonyManager tm = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE Context context) { TelephonyManager tm = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE Context context) { TelephonyManager tm = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE

    2.3K30编辑于 2023-02-10
  • 来自专栏Android点滴积累

    Android来电监听和去电监听

    ; import android.telephony.ServiceState; import android.telephony.TelephonyManager; import android.util.Log e) { e.printStackTrace(); } } // 这个是默认的 phoneServerList.add(Context.TELEPHONY_SERVICE ; import com.android.internal.telephony.ITelephony; import java.lang.reflect.InvocationTargetException TelephonyManager telephonyManager = (TelephonyManager)             context.getSystemService(Context.TELEPHONY_SERVICE ; import android.telephony.TelephonyManager; import android.util.Log; /** * 来去电监听服务 */ public class

    5.6K80发布于 2018-01-04
  • 来自专栏HarmonyOS NEXT实战

    HarmonyOS NEXT实战:拨打电话

    知识点:Telephony Kit(蜂窝通信服务)提供一系列API帮助开发者开发通讯类应用,包括:call模块(拨打电话):系统应用可以直接拨打电话,在应用界面显示通话;三方应用可以拉起系统电话应用,跳转至拨号界面 除此之外,应用还可以通过call模块,实现格式化电话号码、判断是否紧急号码等功能,详情请参考@ohos.telephony.call API参考。 除此之外,应用还可以实现获取、设置短信服务中心地址,和检查当前设备是否具备短信发送和接收能力等功能,详情请参考@ohos.telephony.sms API参考。 radio模块(网络搜索):应用可以调用API获取当前注册网络名称、网络服务状态以及信号强度相关信息,详情请参考@ohos.telephony.radio API参考。 从数据的传输到交换都采用分组技术(Packet Switch),能够为移动设备提供话音、数据、视频图像等业务,经常用于支持用户在智能设备上使用应用程序,以及在移动网络上浏览网页,详情请参考@ohos.telephony.data

    27000编辑于 2025-06-26
  • 来自专栏python3

    Voice Lab 3-IPhone F

    Voice Lab 3-IPhone Features & CME Features 1-试验拓扑: telephony-service no auto-reg-ephone //关闭自动注册 max-ephones R1(config-telephony)#service local-directory R1(config-telephony)directory last-name-first R1(config-telephony )directory entry 1 1001 name fuA ericA R1(config-telephony)directory entry 2 1002 name fuB ericB R1(config-telephony R1(config-telephony)#after-hours day mon 18:00 9:00 //定义时间段,星期1晚6点到次日9点 R1(config-telephony)#after-hours R1(config-telephony)#moh 1.wav R1(config-telephony)#multicast moh 239.1.1.5 port 2111 17-配置呼叫权限COR COR

    91820发布于 2020-01-08
  • 来自专栏全栈程序员必看

    Android系统APN配置具体解释

    Preference.OnPreferenceChangeListener { // 恢复出厂设置的URI public static final String RESTORE_CARRIERS_URI = "content://telephony 用于ContentPrivoder保存着APN配置信息 public static final String PREFERRED_APN_URI = "content://telephony/carriers 首先获取系统属性gsm.sim.operator.numeric,依据这个參数通过系统提供的ContentProvider查询数据库(位于/data/data/com.android.providers.Telephony 下的telephony.db数据库中carriers表中)。 TelephonyManager tm = (TelephonyManager)getSystemService(TELEPHONY_SERVICE); if (tm.getCurrentPhoneType

    2.1K20编辑于 2022-01-11
  • 来自专栏向治洪

    android电话拦截

    android.view.View;      import android.view.View.OnClickListener;      import com.android.internal.telephony.ITelephony ;      import com.android.internal.telephony.ITelephony;      public class refuseCalling extends Activity  {      private static final String TAG = "Telephony";      private TextView view = null;      private NeighboringCellInfo.aidl代码如下:        package android.telephony;        3、建立包 com.android.internal.telephony ;      import android.os.Bundle;      import java.util.List;      import android.telephony.NeighboringCellInfo

    2K90发布于 2018-01-29
  • 来自专栏全栈程序员必看

    opkg update失败问题解决

    404 Not Found Downloading http://downloads.openwrt.org/barrier_breaker/14.07/at91/generic/packages/telephony http://downloads.openwrt.org/barrier_breaker/14.07/at91/generic/packages/telephony 修改后的配置文件: root@EC2022v http://downloads.openwrt.org/barrier_breaker/14.07/at91/9g20/packages/telephony root@EC2022v:/etc# Downloading http://downloads.openwrt.org/barrier_breaker/14.07/at91/9g20/packages/telephony/Packages.gz Updated list of available packages in /var/opkg-lists/barrier_breaker_telephony. root@EC2022v:/etc#

    5.5K10编辑于 2022-09-05
  • 来自专栏老欧说安卓

    Android开发笔记(四十六)手机相关事件

    ; import android.telephony.CellIdentityGsm; import android.telephony.CellIdentityLte; import android.telephony.CellIdentityWcdma ; import android.telephony.CellInfo; import android.telephony.CellInfoCdma; import android.telephony.CellInfoGsm ; import android.telephony.CellInfoLte; import android.telephony.CellInfoWcdma; import android.telephony.CellLocation ; import android.telephony.PhoneStateListener; import android.telephony.SignalStrength; import android.telephony.TelephonyManager ; import android.telephony.cdma.CdmaCellLocation; import android.telephony.gsm.GsmCellLocation; import

    2.5K30发布于 2019-01-18
  • 来自专栏程序猿的那点事

    adb shell dumpsys和adb shell service list命令的使用

    ] 8 phone: [com.android.internal.telephony.ITelephony] 9 extphone: [org.codeaurora.internal.IExtTelephony ] 10 isms: [com.android.internal.telephony.ISms] 11 iphonesubinfo: [com.android.internal.telephony.IPhoneSubInfo ] 12 simphonebook: [com.android.internal.telephony.IIccPhoneBook] 13 isub: [com.android.internal.telephony.ISub 101 content: [android.content.IContentService] 102 account: [android.accounts.IAccountManager] 103 telephony.registry : [com.android.internal.telephony.ITelephonyRegistry] 104 scheduling_policy: [android.os.ISchedulingPolicyService

    4K20发布于 2020-07-15
  • 来自专栏debugeeker的专栏

    CISSP考试指南笔记:4.12 通信通道

    Four main components are needed for VoIP: an IP telephony device, a call-processing manager, a voicemail The IP telephony device is just a phone that has the necessary software that allows it to work as a network .323 Gateways ---- An H.323 environment features terminals, which can be telephones or computers with telephony “IP telephony” means that telephone and telecommunications activities are taking place over an IP network

    55440发布于 2021-02-04
  • 来自专栏陶士涵的菜地

    [android] 手机卫士绑定sim卡

    ===== 读取sim卡的序列号,保存起来,一旦sim发生变更了,认为是小偷的sim卡,发出警告 读取sim卡序列号 获取TelephonyManager对象,通过getSystemService(TELEPHONY_SERVICE android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.telephony.TelephonyManager Context.MODE_PRIVATE); //读取当前的sim卡序列号 tm=(TelephonyManager) cotext.getSystemService(Context.TELEPHONY_SERVICE android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import android.os.Bundle; import android.telephony.TelephonyManager getSharedPreferences("config", MODE_PRIVATE); telephonyManager = (TelephonyManager) getSystemService(TELEPHONY_SERVICE

    1.5K20发布于 2019-09-10
领券