如何创建,打开通话记录活动的意图是什么? [英] How do I create an Intent that opens the Call Log Activity?
本文介绍了如何创建,打开通话记录活动的意图是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我要创建打开的窗口中显示当前设备的通话记录的意图是什么?
I want to create an Intent that opens the screen showing the call logs of the current device?
我将如何指定这样的意图是什么?
How would I specify such an Intent?
推荐答案
Barmaley导致我,我做到了与类型设置为Calls.ContentType的正确路径。
Barmaley lead me to the correct path I did it with setting the type to Calls.ContentType.
Intent showCallLog = new Intent();
showCallLog.setAction(Intent.ACTION_VIEW);
showCallLog.setType(CallLog.Calls.CONTENT_TYPE);
context.startActivity(showCallLog);
这个意图应该做的伎俩。
This intent should do the trick.
这篇关于如何创建,打开通话记录活动的意图是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文