如何从broadcastreceiver打开通话记录
am using a broadcast receiver to monitor call is coming from which number...
and for that i need to open calllog to show to the user
how to open call log from broadcastreceiver?
答案 0 :(得分:0)
在stackoverflow.com上长时间搜索后
现在我可以使用
打开来自广播接收器的通话记录Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse("content://call_log/calls"));
i.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
context.startActivity(i);