Google suggests the way to link to the Google Play Store is:
market://details?id=<package_name>
if you are in an application, andhttp://play.google.com/store/apps/details?id=<package_name>
if you are on a webpage.
When we followed this strategy, we got a toast of "No such app found", even though the Google Play Store had the app we were looking for.
This turned out to be caused by the competition of two market handlers: F-droid (Open source marketplace) and Google Play Store. I found there were multiple by looking at the package manager for the intent resolvers.
I only ever want apps in the Google Play Store to be linked to by my app.
Is there a way to force that app to respond to my market://[...]
link?
Other strategies suggest attempting one approach, and if that fails, trying the http://[...]
link. (The linked solution failed for me, as no exception was thrown.)
What will go wrong if I always link via the http:// method? I.e., skip the market://
link, and use http://
directly in the app. Will this decision come back to haunt me later?