Sam Borick Sam Borick - 3 months ago 11
Android Question

How to make a link that opens a specific app in the android app market app

I am trying to promote my app on Facebook, but when I link to the application page like this, when the link is opened on an android device the page comes up in the browser, instead of opening in the Play Store app. How can I create a link that when opened in a web browser on a PC will link to the previously linked page, but when opened on a phone will open in the Play Store app?

Answer

From an Android app you can use:

market://details?id=<package_name>

From a website:

http://play.google.com/store/apps/details?id=<package_name>

More information on Android developer website.