Current Android Release version:
Version Code: Pie
Version: 9
API level: 28

How to create an Intent that opens the Call Log Activity?

Below code will launch the call log history screen.

Intent showCallLog = new Intent();
showCallLog.setAction(Intent.ACTION_VIEW);

showCallLog.setType(CallLog.Calls.CONTENT_TYPE);
context.startActivity(showCallLog);

No comments:

Post a Comment