<intent-filter >    <action android:name="android.intent.action.VIEW" />                <category android:name="android.intent.category.DEFAULT" />                <category android:name="android.intent.category.BROWSABLE" />    <data android:mimeType="vnd.android.cursor.dir/calls" /></intent-filter>

当你挂断电话的时候,logcat中捕获日志:

03-07 15:07:51.472: I/ActivityManager (154): START {act=android.intent.action.VIEW typ=vnd.android.cursor.dir/calls flg=0x10000 cmp=android/com.android.internal.app.ResolverActivity} from pid 337

明白了吧?

更多相关文章

  1. android典型代码系列(九)------电话拦截
  2. Android日志打印DebugLog
  3. android phone电话调用流程(转贴)
  4. Android中通过来电转移实现“电话已关机”,“此号码已停机”等
  5. Logcat__查看Android系统日志
  6. Android日志工具
  7. android打电话
  8. [原创]adb使用教程v1.1.0-----by-----使用logcat快速抓取android

随机推荐

  1. android 7.0 手机android.content.res.Xm
  2. Android中Java与JavaScript之间交互
  3. 流式布局 ChipsLayoutManager
  4. TabBar_ViewPager做成的tab页面
  5. Android蓝牙的开启-搜索-关闭演示
  6. Android(安卓)控件点击效果纯色和水波纹
  7. Android(安卓)Studio 插件之 Exynap
  8. TextInputLayout 的使用
  9. mtk平台pwm配置说明
  10. android-websockets