How to retrieve data from the native apps

How to retrieve data from the native apps

  

Hi All,


I have a problem to retrieve data from the native apps
before I used ApplauncherPlugin to send parameters to nativ app
like the code below in nativ apps, how i implement it in outsystems?


@Override

public void onActivityResult(int requestCode, int resultCode, Intent data) {

...

String returnValue = data.getStringExtra("com.smartpesa.intent.result.TransactionResult.id");

...

}


Thanks, 

Imas Deny 

Hi Deny,

Have you looked at the AppLauncherPlugin on forge (https://www.outsystems.com/forge/Component_Details.aspx?ProjectId=2622)?

Best regards,

João Nobre

Hello Imas, 

Receiving results is implemented in the cordova plugin that AppLauncher is based, but I didn't implemented the methods yet. 

I'll try to do this in the next days.

Cheers,

Eduardo Jauch

Hi Eduardo,


Thanks for your support, I hope it works


Thanks,

Imas 

Eduardo Jauch wrote:

Hello Imas, 

Receiving results is implemented in the cordova plugin that AppLauncher is based, but I didn't implemented the methods yet. 

I'll try to do this in the next days.

Cheers,

Eduardo Jauch

Hi Eduardo

Is there update to this? We are in need for OutSystems to receive back the data from a native app. Is this methods implemented?

Thank you very much for the support

Thanks,
Thorsten


Hi Thorsten,

Yes, it was implemented, but the usage is still limited.
You can receive only if you use intents selecting an action instead of a package.

And it is not tested by me yet.

There is another topic where I discuss this: https://www.outsystems.com/forums/discussion/33963/call-native-android-ios-native-app-and-get-the-response-value/

You can also check this thread: https://www.outsystems.com/forums/discussion/31015/how-to-launch-a-native-mobile-app/

Cheers.