From 5bdeb53a9b1e2543539e637c72dfaf3b91fdb60c Mon Sep 17 00:00:00 2001 From: Alex Blasche Date: Tue, 8 Apr 2014 14:17:43 +0200 Subject: Accelbubble example only really works with a locked UI to portrait On Android we have to do that via a custom AndroidManifest. Change-Id: If436bdd494b3d167121bd8ee80f81c031a81f5d5 Reviewed-by: Eskil Abrahamsen Blomfeldt Reviewed-by: Leena Miettinen --- examples/sensors/accelbubble/accelbubble.pro | 5 ++- .../accelbubble/android/AndroidManifest.xml | 48 ++++++++++++++++++++++ 2 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 examples/sensors/accelbubble/android/AndroidManifest.xml (limited to 'examples') diff --git a/examples/sensors/accelbubble/accelbubble.pro b/examples/sensors/accelbubble/accelbubble.pro index b183bf41..cdb6ab75 100644 --- a/examples/sensors/accelbubble/accelbubble.pro +++ b/examples/sensors/accelbubble/accelbubble.pro @@ -9,7 +9,10 @@ RESOURCES += \ OTHER_FILES = \ $$files(*.qml) \ content \ - images + images \ + android/AndroidManifest.xml target.path = $$[QT_INSTALL_EXAMPLES]/sensors/accelbubble INSTALLS += target + +ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android diff --git a/examples/sensors/accelbubble/android/AndroidManifest.xml b/examples/sensors/accelbubble/android/AndroidManifest.xml new file mode 100644 index 00000000..cbebcdd0 --- /dev/null +++ b/examples/sensors/accelbubble/android/AndroidManifest.xml @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3