0

I am working on a mobile website. We are showing a default screen on mobile website with 2 options. 1. Open in app 2. Continue to mobile site

now I have to check when user chooses Open in App, if App is already installed on mobile, open App. If not go to play store. Right now it is going to play store anyway. How can I verify this, please suggest.

Atul
  • 1,157
  • 2
  • 16
  • 28

1 Answers1

1

You can register an intent filter for a specific URI in the manifest. Whenever the URI is resolved by the system (for example when you click on it in the browser) you application would be notified and could start up. See also this so entry. But that does not handle the automatic redirect to the play store if the app is not installed. Maybe deep linking could do the job for you. This talk may also be relevant for deep linking.

Community
  • 1
  • 1
GPuschka
  • 522
  • 3
  • 9
  • Thanks GPuschka, now my webapp is able to call my android app, Intent filter were already written in my android app. I just added this link in webapp. intent://m.mysite.com#Intent;scheme=myscheme;package=maypackage id;end here m.mysite,com, scheme and package was already mentioned in our android app. now I have to do the same for iOS app – Atul Jun 03 '16 at 11:47