aboutsummaryrefslogtreecommitdiffstats
path: root/make/scripts/adb-power-alwayson.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-04-03 18:57:28 +0200
committerSven Gothel <[email protected]>2012-04-03 18:57:28 +0200
commit081404e20ac6055244408c6a4a7e7c2089183983 (patch)
treec59876c7fb976af6acccf0e3c3c279633c24e2cf /make/scripts/adb-power-alwayson.sh
parentc594cf1dc9f37dd1a6d861a1aa5426abbd082d60 (diff)
Add Android API 14 GLMediaPlayer demo: MovieSimple
Activity adds 2 NEWT GLWindow's in a ViewGroup, one main view and one small HUD view. Both GLWindow contain one GLEventListener playing the same stream using GLMediaPlayer one with no effect, one w/ a gradient color effect. The stream's URL is currently hardcoded 'file:///mnt/sdcard/Movies/BigBuckBunny_320x180.mp4'. Upper half of main window: - click start/pause video - drag rotate video Lower half of main window: - drag bwd/fwd in the stream (seek)
Diffstat (limited to 'make/scripts/adb-power-alwayson.sh')
-rwxr-xr-xmake/scripts/adb-power-alwayson.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/make/scripts/adb-power-alwayson.sh b/make/scripts/adb-power-alwayson.sh
new file mode 100755
index 000000000..ec04064be
--- /dev/null
+++ b/make/scripts/adb-power-alwayson.sh
@@ -0,0 +1,3 @@
+sdir=`dirname $0`
+
+adb $* shell svc power stayon true