Launching android mobile v10 from email or web link

Launching android mobile v10 from email or web link

  

Hi guys,

I'm trying to launch an OutSystems v10 app from email or web link.


In this source (How to Define Mobile App Deep Links) is mentioned that the syntax is this one:

<YourAppIdentifier>://<YourApp>/<YourScreen><?Parameter1=Value&Parameter2=Value>


So I'm assuming that a link must be something like this:

"<a href='<YourAppIdentifier>://<YourApp>/<YourScreen><?Parameter1=Value&Parameter2=Value>'>launch app</a>"


Both application, iOS and Android, have the same app identifier.

Testing this link on iOS launches the app with no problem, but the same link doesn't work on Android.


I did some searches on google and found that we can instruct the app to launch using Intents, Intent Filters...

This is an example that works on my Android launching the Barcode Scanner app:

"<a href='intent://scan/#Intent;scheme=zxing;package=com.google.zxing.client.android;end'> Take a QR code </a>"


Does anyone know how to make this work on Android?


Thank you

Hello,

To launch an app using intents, the app must provide the configuration, that includes the intent filters and activities.

I recommend you to learn a little about this before venturing on it.

Cheers

Eduardo Jauch

Eduardo Jauch wrote:

Hello,

To launch an app using intents, the app must provide the configuration, that includes the intent filters and activities.

I recommend you to learn a little about this before venturing on it.

Cheers

Eduardo Jauch

Hi,

I don't have any particular need to use Intents.

My goal is to launch an OutSystems Android app.

Thanks

IS wrote:

Hi,

I don't have any particular need to use Intents.

My goal is to launch an OutSystems Android app.

Thanks

Oh yeah... you have... In Android is everything about intents...
At least from my knowledge (I may be wrong, of course)

Without defining Intent filters, your app will not be launched as the Android will launch an app only if there is an intent filter in the app that matches on the action. 

There why the link you did works in iOS but not in Android.

And for what I know, to be able to provide the android manifest (xml) you will need to create a Cordova Plugin.

I didn't myself, but will give a try at night, to see if I can make it work.

Cheers,
Eduardo Jauch