Skip to content

Commit 1f0a621

Browse files
Merge pull request #373 from Esri/james/qt_android_5.15
Update AR example manifest files.
2 parents 0454177 + 4158e9d commit 1f0a621

File tree

2 files changed

+24
-22
lines changed

2 files changed

+24
-22
lines changed

Examples/AR/CppArExample/Android/AndroidManifest.xml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<?xml version='1.0' encoding='utf-8'?>
2-
<manifest package="com.esri.arcgisruntime.qt.cpp.ar.example" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.0" android:versionCode="1" android:installLocation="auto">
1+
<?xml version="1.0"?>
2+
<manifest package="com.esri.arcgisruntime.qt.qml.ar.example" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="-- %%INSERT_VERSION_NAME%% --" android:versionCode="-- %%INSERT_VERSION_CODE%% --" android:installLocation="auto">
33
<uses-sdk android:minSdkVersion="24" android:targetSdkVersion="28"/>
44

55
<!-- The following comment will be replaced upon deployment with default permissions based on the dependencies of the application.
@@ -13,12 +13,8 @@
1313

1414
<supports-screens android:largeScreens="true" android:normalScreens="true" android:anyDensity="true" android:smallScreens="true"/>
1515

16-
<application android:hardwareAccelerated="true" android:name="org.qtproject.qt5.android.bindings.QtApplication" android:label="-- %%INSERT_APP_NAME%% --">
17-
<activity android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation|mcc|mnc|density"
18-
android:name="org.qtproject.qt5.android.bindings.QtActivity"
19-
android:label="-- %%INSERT_APP_NAME%% --"
20-
android:screenOrientation="unspecified"
21-
android:launchMode="singleTop">
16+
<application android:hardwareAccelerated="true" android:name="org.qtproject.qt5.android.bindings.QtApplication" android:label="-- %%INSERT_APP_NAME%% --" android:icon="@drawable/icon">
17+
<activity android:configChanges="locale|fontScale|keyboard|keyboardHidden|layoutDirection|mcc|mnc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode" android:name="org.qtproject.qt5.android.bindings.QtActivity" android:label="-- %%INSERT_APP_NAME%% --" android:screenOrientation="unspecified" android:launchMode="singleTop">
2218
<intent-filter>
2319
<action android:name="android.intent.action.MAIN"/>
2420
<category android:name="android.intent.category.LAUNCHER"/>
@@ -36,12 +32,11 @@
3632
<meta-data android:name="android.app.bundled_libs_resource_id" android:resource="@array/bundled_libs"/>
3733
<!-- Deploy Qt libs as part of package -->
3834
<meta-data android:name="android.app.bundle_local_qt_libs" android:value="-- %%BUNDLE_LOCAL_QT_LIBS%% --"/>
39-
<meta-data android:name="android.app.bundled_in_lib_resource_id" android:resource="@array/bundled_in_lib"/>
40-
<meta-data android:name="android.app.bundled_in_assets_resource_id" android:resource="@array/bundled_in_assets"/>
35+
4136
<!-- Run with local libs -->
4237
<meta-data android:name="android.app.use_local_qt_libs" android:value="-- %%USE_LOCAL_QT_LIBS%% --"/>
4338
<meta-data android:name="android.app.libs_prefix" android:value="/data/local/tmp/qt/"/>
44-
<meta-data android:name="android.app.load_local_libs" android:value="-- %%INSERT_LOCAL_LIBS%% --"/>
39+
<meta-data android:name="android.app.load_local_libs_resource_id" android:resource="@array/load_local_libs"/>
4540
<meta-data android:name="android.app.load_local_jars" android:value="-- %%INSERT_LOCAL_JARS%% --"/>
4641
<meta-data android:name="android.app.static_init_classes" android:value="-- %%INSERT_INIT_CLASSES%% --"/>
4742
<!-- Used to specify custom system library path to run with local system libs -->
@@ -54,6 +49,12 @@
5449
<!-- Messages maps -->
5550

5651
<!-- Splash screen -->
52+
<!-- Orientation-specific (portrait/landscape) data is checked first. If not available for current orientation,
53+
then android.app.splash_screen_drawable. For best results, use together with splash_screen_sticky and
54+
use hideSplashScreen() with a fade-out animation from Qt Android Extras to hide the splash screen when you
55+
are done populating your window with content. -->
56+
<!-- meta-data android:name="android.app.splash_screen_drawable_portrait" android:resource="@drawable/logo_portrait" / -->
57+
<!-- meta-data android:name="android.app.splash_screen_drawable_landscape" android:resource="@drawable/logo_landscape" / -->
5758
<!-- meta-data android:name="android.app.splash_screen_drawable" android:resource="@drawable/logo"/ -->
5859
<!-- meta-data android:name="android.app.splash_screen_sticky" android:value="true"/ -->
5960
<!-- Splash screen -->

Examples/AR/QmlArExample/Android/AndroidManifest.xml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<?xml version='1.0' encoding='utf-8'?>
2-
<manifest package="com.esri.arcgisruntime.qt.qml.ar.example" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.0" android:versionCode="1" android:installLocation="auto">
1+
<?xml version="1.0"?>
2+
<manifest package="com.esri.arcgisruntime.qt.qml.ar.example" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="-- %%INSERT_VERSION_NAME%% --" android:versionCode="-- %%INSERT_VERSION_CODE%% --" android:installLocation="auto">
33
<uses-sdk android:minSdkVersion="24" android:targetSdkVersion="28"/>
44

55
<!-- The following comment will be replaced upon deployment with default permissions based on the dependencies of the application.
@@ -13,12 +13,8 @@
1313

1414
<supports-screens android:largeScreens="true" android:normalScreens="true" android:anyDensity="true" android:smallScreens="true"/>
1515

16-
<application android:hardwareAccelerated="true" android:name="org.qtproject.qt5.android.bindings.QtApplication" android:label="-- %%INSERT_APP_NAME%% --">
17-
<activity android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation|mcc|mnc|density"
18-
android:name="org.qtproject.qt5.android.bindings.QtActivity"
19-
android:label="-- %%INSERT_APP_NAME%% --"
20-
android:screenOrientation="unspecified"
21-
android:launchMode="singleTop">
16+
<application android:hardwareAccelerated="true" android:name="org.qtproject.qt5.android.bindings.QtApplication" android:label="-- %%INSERT_APP_NAME%% --" android:icon="@drawable/icon">
17+
<activity android:configChanges="locale|fontScale|keyboard|keyboardHidden|layoutDirection|mcc|mnc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode" android:name="org.qtproject.qt5.android.bindings.QtActivity" android:label="-- %%INSERT_APP_NAME%% --" android:screenOrientation="unspecified" android:launchMode="singleTop">
2218
<intent-filter>
2319
<action android:name="android.intent.action.MAIN"/>
2420
<category android:name="android.intent.category.LAUNCHER"/>
@@ -36,12 +32,11 @@
3632
<meta-data android:name="android.app.bundled_libs_resource_id" android:resource="@array/bundled_libs"/>
3733
<!-- Deploy Qt libs as part of package -->
3834
<meta-data android:name="android.app.bundle_local_qt_libs" android:value="-- %%BUNDLE_LOCAL_QT_LIBS%% --"/>
39-
<meta-data android:name="android.app.bundled_in_lib_resource_id" android:resource="@array/bundled_in_lib"/>
40-
<meta-data android:name="android.app.bundled_in_assets_resource_id" android:resource="@array/bundled_in_assets"/>
35+
4136
<!-- Run with local libs -->
4237
<meta-data android:name="android.app.use_local_qt_libs" android:value="-- %%USE_LOCAL_QT_LIBS%% --"/>
4338
<meta-data android:name="android.app.libs_prefix" android:value="/data/local/tmp/qt/"/>
44-
<meta-data android:name="android.app.load_local_libs" android:value="-- %%INSERT_LOCAL_LIBS%% --"/>
39+
<meta-data android:name="android.app.load_local_libs_resource_id" android:resource="@array/load_local_libs"/>
4540
<meta-data android:name="android.app.load_local_jars" android:value="-- %%INSERT_LOCAL_JARS%% --"/>
4641
<meta-data android:name="android.app.static_init_classes" android:value="-- %%INSERT_INIT_CLASSES%% --"/>
4742
<!-- Used to specify custom system library path to run with local system libs -->
@@ -54,6 +49,12 @@
5449
<!-- Messages maps -->
5550

5651
<!-- Splash screen -->
52+
<!-- Orientation-specific (portrait/landscape) data is checked first. If not available for current orientation,
53+
then android.app.splash_screen_drawable. For best results, use together with splash_screen_sticky and
54+
use hideSplashScreen() with a fade-out animation from Qt Android Extras to hide the splash screen when you
55+
are done populating your window with content. -->
56+
<!-- meta-data android:name="android.app.splash_screen_drawable_portrait" android:resource="@drawable/logo_portrait" / -->
57+
<!-- meta-data android:name="android.app.splash_screen_drawable_landscape" android:resource="@drawable/logo_landscape" / -->
5758
<!-- meta-data android:name="android.app.splash_screen_drawable" android:resource="@drawable/logo"/ -->
5859
<!-- meta-data android:name="android.app.splash_screen_sticky" android:value="true"/ -->
5960
<!-- Splash screen -->

0 commit comments

Comments
 (0)