0

I need to support the launching of native apps from a web application. Considering that not all the apps support URL schemes, is there an alternative to launch native apps from Web without URL scheme on Android?

I'm looking for JavaScript solutions that will work on Android 4.4.

eldarerathis
  • 35,455
  • 10
  • 90
  • 93
Es Noguera
  • 426
  • 1
  • 5
  • 19

1 Answers1

0

Did you have a look at this-https://developer.chrome.com/multidevice/android/intents..I think native apps and chrome webview on phone must be supporting this.

If your app is a hybrid one-you can try this:

You can have a method called launchNative(appName) in your native code and call it from javascript.refer-Native code calling JS in Android webapps

Community
  • 1
  • 1
rupesh jain
  • 3,410
  • 1
  • 14
  • 22
  • Hello @rupesh, in the first link it said: _To launch the Zxing barcode scanner app, you encode your href on the anchor as follows:_ Take a QR code ` – Es Noguera Apr 08 '15 at 16:32
  • How do I know what to write in here (I mean in the intent or the href) if I don't have access to the manifiest? – Es Noguera Apr 08 '15 at 16:40
  • The app which you are trying to launch must be listening for some action..For eg..if you want to launch gallery you specify ACTION_PICK and data as images.. – rupesh jain Apr 08 '15 at 19:39