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/resources/android/AndroidManifest-test.xml | 10 ++++++++++ make/resources/android/res-test/values/strings.xml | 2 ++ make/scripts/adb-power-alwayson.sh | 3 +++ 3 files changed, 15 insertions(+) create mode 100755 make/scripts/adb-power-alwayson.sh (limited to 'make') diff --git a/make/resources/android/AndroidManifest-test.xml b/make/resources/android/AndroidManifest-test.xml index ca3089098..84256f6f4 100644 --- a/make/resources/android/AndroidManifest-test.xml +++ b/make/resources/android/AndroidManifest-test.xml @@ -95,6 +95,16 @@ + + + + + + diff --git a/make/resources/android/res-test/values/strings.xml b/make/resources/android/res-test/values/strings.xml index d66f6e4d7..ea366a9f9 100644 --- a/make/resources/android/res-test/values/strings.xml +++ b/make/resources/android/res-test/values/strings.xml @@ -19,4 +19,6 @@ GraphUI 2-pass Elektro Elektro + MovieSimple + MovieSimple 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