Search code examples
javascriptandroidhtmliphoneapache-cordova

How to open up a app on your phone via link on site


Is there a way to open a app on your phone, if you click a link on your site?

for example your on your phone browsing the site and it says for more info open "ExampleApp" if the app is installed it will open up the app on there phone.


Solution

  • As shown on this link : Make a link in the Android browser start up my app?

    It is possible if your main activity has the BROWSABLE intent filter.

    The href attribute will get the package name as a value