Intent to open default Calendar

Inman

Well-Known Member
Licensed User
Longtime User
I read somewhere that Calendar and Youtube are 2 Google apps that do not have an official intent to open them. The above code is referred to as a hack and it looks like Google disabled it from Android 3.0.

The good news is Android 4.0 has an official calendar API. Sadly it will take over a year for Android 4.0 to become popular. In the meantime Erel's code should be ok.
 
Upvote 0

NJDude

Expert
Licensed User
Longtime User
I tried Erel's code which is similar to the ones I tried myself, however, none of them work.

What I tried in some cases just call "com.android.calendar" using an intent, which works, but some phones like HTC for example have their own version of calendar "com.htc.calendar", that's why I was asking if there was a "generic" intent to open the default calendar app.

It seems is not possible.

Thanks for your help folks.
 
Last edited:
Upvote 0

NeoTechni

Well-Known Member
Licensed User
Longtime User
Did anyone get it working?
The only code I can find requires me to pass an event ID, I just want the app to open
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…