On Fri, Aug 5, 2011 at 1:38 AM, John <[email protected]> wrote:
> The error is "Application is not installed", which seems to be some
> generic android error which gives no real information for why the
> action is not working.
No, it is a very specific error, indicating that the application you
think you are trying to launch is not installed.
> PS: why doesn't this Google Groups interface have a way to tag code
> segments?
Why would it? An extremely low percentage of Groups would need it. If
you want richly-formatted questions and answers, use StackOverflow.
> Intent shortcutIntent = getAppLauncherIntent("com.google.android.gm");
Don't hard-code packages. Use PackageManager and
queryIntentActivities() to determine what the launchable activities
are.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
Android Training in NYC: http://marakana.com/training/android/
--
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