Thanks Mark. Here is my problem in more detail: I want to bring up the Market details page of another one of my apps so I fire off an intent to:
market://details?id=com.mycompany.myapp Three things can go wrong with this (OK, maybe more, but...): 1. market:// scheme cannot be resolved 2. no internet connection 3. package not found In the case of 2 I get a dialog box saying "A network error has occurred...". In the case of 3 I get a dialog box saying "A server error has occurred...". Neither of these are very intuitive for the user. I'm not sure what happens in case 1 - still need to test that (hence this topic). Maybe my question is more "How to check whether the market:// scheme can be resolved?". On Feb 9, 4:11 pm, "Mark Murphy" <[email protected]> wrote: > > What is the easiest way to programmatically check if the Market app is > > installed? > > If you can figure out what the package name of the Market is, you could > use PackageManager to find out if it is installed. > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > Android App Developer Books:http://commonsware.com/books.html -- 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

