Search code examples
androidhtmliosmobile

How to make a url to Apple app store or Google play to actually open the app store?


I have a website which has links that sends people to the app store and google play to download my app.

But regular links just go to the website. How can I change it so that if people are on mobile devices, the link opens the app store or google play for them?

Thanks, Alex


Solution

  • For Android apps, you can just link to the Google play store directly. The Android OS will prompt the user if they want to open the link in their browser or open the link in the Google Play store app as soon as they click on it. Any http://play.google.com?id=* link will prompt the user in this way on an Android device.

    If you've got an Android phone, just give it a try with this link to the Facebook app for Android

    For iPhone, check out this answer that is very complete for what you want to do.