summaryrefslogtreecommitdiffstats
path: root/examples/sensors/sensorsshowcase/android
diff options
context:
space:
mode:
authorTamas Martinec <tamas.martinec@symbio.com>2021-10-26 16:13:51 +0300
committerTamas Martinec <tamas.martinec@symbio.com>2021-11-12 10:34:41 +0200
commit851ec98b341ed8ad67caac32653178e0bb189bfe (patch)
treee86ed84282f29ccea76b64e704ab2d549fa3fb0a /examples/sensors/sensorsshowcase/android
parente49df5b12669b9ac754e2e1dd363e6797c7df0ba (diff)
QtSensors: Create a sensors showcase example
Create an example that demonstrates the sensor module sensors more visually than just displaying the sensor reading values. Pick-to: 6.2 Task-number: QTBUG-72329 Change-Id: I7383722124c3aae333cf9218613d7001c9d04690 Reviewed-by: Juha Vuolle <juha.vuolle@insta.fi>
Diffstat (limited to 'examples/sensors/sensorsshowcase/android')
-rw-r--r--examples/sensors/sensorsshowcase/android/AndroidManifest.xml47
1 files changed, 47 insertions, 0 deletions
diff --git a/examples/sensors/sensorsshowcase/android/AndroidManifest.xml b/examples/sensors/sensorsshowcase/android/AndroidManifest.xml
new file mode 100644
index 00000000..3c152a90
--- /dev/null
+++ b/examples/sensors/sensorsshowcase/android/AndroidManifest.xml
@@ -0,0 +1,47 @@
+<?xml version="1.0"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="org.qtproject.example.sensorsshowcase"
+ android:installLocation="auto"
+ android:versionCode="1"
+ android:versionName="1.0">
+ <!-- The comment below will be replaced with dependencies permissions upon deployment.
+ Remove the comment if you do not require these default permissions. -->
+ <!-- %%INSERT_PERMISSIONS -->
+
+ <!-- The comment below will be replaced with dependencies permissions upon deployment.
+ Remove the comment if you do not require these default features. -->
+ <!-- %%INSERT_FEATURES -->
+
+ <supports-screens
+ android:anyDensity="true"
+ android:largeScreens="true"
+ android:normalScreens="true"
+ android:smallScreens="true" />
+ <application
+ android:name="org.qtproject.qt.android.bindings.QtApplication"
+ android:extractNativeLibs="true"
+ android:hardwareAccelerated="true"
+ android:label="-- %%INSERT_APP_NAME%% --"
+ android:requestLegacyExternalStorage="true">
+ <activity
+ android:name="org.qtproject.qt.android.bindings.QtActivity"
+ android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation|mcc|mnc|density"
+ android:label="-- %%INSERT_APP_NAME%% --"
+ android:launchMode="singleTop"
+ android:screenOrientation="portrait">
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN"/>
+ <category android:name="android.intent.category.LAUNCHER"/>
+ </intent-filter>
+ <meta-data
+ android:name="android.app.lib_name"
+ android:value="-- %%INSERT_APP_LIB_NAME%% --" />
+ <meta-data
+ android:name="android.app.background_running"
+ android:value="false" />
+ <meta-data
+ android:name="android.app.extract_android_style"
+ android:value="minimal" />
+ </activity>
+ </application>
+</manifest>