我要创建打开的窗口中显示当前设备的通话记录的意图是什么?
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.
上一篇:试图筛选一个ListView与runQueryOnBackgroundThread但没有任何反应 - 我缺少什么?但没、有任何、反应、ListView
下一篇:MediaStore.Images.Thumbnails.getThumbnail返回错误的缩略图,而不是空缩略图、而不是、错误、Images