From 081404e20ac6055244408c6a4a7e7c2089183983 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 3 Apr 2012 18:57:28 +0200 Subject: 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) --- make/scripts/adb-power-alwayson.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 make/scripts/adb-power-alwayson.sh (limited to 'make/scripts/adb-power-alwayson.sh') 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 -- cgit v1.2.3