summaryrefslogtreecommitdiffstats
path: root/make/scripts/adb-launch-activity.sh
blob: 84399520ebe2d6b72b8cec9abadd8d477654a68f (plain)
1
2
3
4
5
6
7
8
9
10
11
#! /bin/sh

#ANAME="com.jogamp.opengl.test/com.jogamp.opengl.test.android.NEWTGenericActivity"
#ANAME="com.jogamp.android.launcher/com.jogamp.android.launcher.NEWTLauncherActivity2"
ANAME="com.jogamp.opengl.test/com.jogamp.opengl.test.android.NEWTGearsES2ActivityLauncher"

adb $* shell "setprop log.redirect-stdio true ; setprop log.redirect-stderr true ; \
              am start -a android.intent.action.MAIN -n $ANAME"