I'm trying to launch the Maps application from my own activity and
throws me an exception.
This is the code that I launch:
PackageManager pm = context.getPackageManager();
Intent i =
pm.getLaunchIntentForPackage("com.google.android.apps.maps");
context.startActivity(i);
And this is the LogCat:
E/gAppsLauncher( 2935): Unable to find explicit activity class
{com.google.android.apps.maps/
com.android.internal.app.ResolverActivity}; have you declared this
activity in your AndroidManifest.xml?
This code executes OK in the stock Android but Sense seems to have
something that revokes the launch of the activity. I launch some other
apps like gMail without errors, it's only Maps application who gives
that error.
Do you know any solution to this error? Thanks
P.S: Sorry for my very bad english.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en