0
Intent calIntent = new Intent(Intent.ACTION_VIEW);
calIntent.setData(CalendarContract.Events.CONTENT_URI);
startActivity(calIntent);
매니페스트 파일에서 권한을 추가했지만 작동하지 않습니다. ,Android. 월보기로 항목을 표시하기 위해 일정 의도를 호출하는 방법은 무엇입니까?
// A date-time specified in milliseconds since the epoch.
long startMillis;
...
Uri.Builder builder = CalendarContract.CONTENT_URI.buildUpon();
builder.appendPath("time");
ContentUris.appendId(builder, startMillis);
Intent intent = new Intent(Intent.ACTION_VIEW)
.setData(builder.build());
startActivity(intent);
불행하게도 :