PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV Mobile 2024 → Use ExeRun() to open Application with component
Use ExeRun() to open Application with component
Iniciado por matthysjvw, nov., 16 2019 5:21 PM - Sem resposta
Publicado em novembro, 16 2019 - 5:21 PM
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