Activitynotfoundexception Exception On Jelly Bean For Gmail Composer
Solution 1:
I'd advise against using an intent to directly open the gmail compose activity. Using such a strict intent means that the user needs to have gmail installed to use your app. Not everybody uses gmail for their mail client.. Additionally, by hardcoding class names you leave yourself open to instances where the class name changes can result in your activity breaking (which is the cause of your current problem)
I decompiled the gmail 4.2 application and found that the ComposeActivity class name and path has changed.. it is now com.android.mail.compose.ComposeActivity
You should use a general email intent that allows the user to use the email application of their choosing
Solution 2:
Look closer at this line
have you declared this activity in your AndroidManifest.xml
Perharps you just didn't have the activity declared.
Post a Comment for "Activitynotfoundexception Exception On Jelly Bean For Gmail Composer"