I’m developing an application that uses Navigation. The problem is that if the device doesn’t have the Navigation app, the application crash with an exception. Time before I did another application that checks if the package exists and if not, the application redirects to you to the market.
How can I do that? Is that a generic check? Or was it only for the package that I used?
Also… if I can check it, I could try to do the intent and if I catch the exception, then redirect to market… the question is, how can I redirect to the market?
Thanks
You can create Intent with
market://details?id=<package_name>URL to invoke apps page on market.http://developer.android.com/guide/publishing/publishing.html#marketintent