PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV Mobile 2024 → Use ExeRun() to open Application with component
Use ExeRun() to open Application with component
Débuté par MJ van Wyk, 16 nov. 2019 17:21 - Aucune réponse
Posté le 16 novembre 2019 - 17:21
Hello

I would like to know if it is possible for the Windev function "ExeRun()" can be used to to open a component i.e Activity, in an external application.

For example in Android Studio it would look something like this:

Intent i = new Intent();
ComponentName cn = new ComponentName("com.example.provider","com.example.unit.user.FindActivity");
i.putExtra("ByPassAuth", true);
i.setComponent(cn);
startActivityForResult(i, 10);


I have managed to get the the application application to open with just ExeRun("com.example.provider", exeActive, exeReturnValue).

But I need it to open the specific Activity and return the result that would have been available in Android Studio's onActivityResult().

Any guidance and advice would be appreciated.

Regards,
MJ