1. 程式人生 > >Android 跳轉到通話記錄詳情頁

Android 跳轉到通話記錄詳情頁

Intent showCallLog = new Intent();
        showCallLog.setAction(Intent.ACTION_VIEW);
        Uri uri = ContentUris.withAppendedId(CallLog.Calls.CONTENT_URI, id);
        showCallLog.setData(uri);
        startActivity(showCallLog);


其中 id為 CallLog.Calls._ID