How to Open Application with script

R
rathasatekun
Gosoft (Thailand) Co.,Ltd.

Hi support

I Want to open application on my device How to open it 

I use script as below

showmessagebox "New Information please go tp App XX" NO_TIMER 1 YES
if %ShowMessageBoxReturn% == IDYES goto Open App.APK << How to Open App?

5 years ago
Android Scripting
ANSWERS
C
Christophe
5 years ago

Not sure but perhpas you can test

intent:#Intent;action= PACKAGE NAME ;i.dialog_type=1;end

MD
Matt Dermody Diamond Contributor
5 years ago

you can also just use start.

start com.x.y

MD
Matt Dermody Diamond Contributor
5 years ago

Also, unless something has changed the If/then logic is not available within the Android scripting layer.