Advertisement
Guest User

Android Intent to launch Calendar app

a guest
Aug 17th, 2016
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.16 KB | None | 0 0
  1. // (crash if no app to handle intent)
  2. Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("content://com.android.calendar/time/"));
  3. startActivity(intent);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement