-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
45ae724
commit 6d49d3f
Showing
731 changed files
with
3,457 additions
and
4,329 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
72 changes: 0 additions & 72 deletions
72
ArcGISRuntimeSDKQt_CppSamples/AR/DisplayScenesInTabletopAR/PermissionsHelper.cpp
This file was deleted.
Oops, something went wrong.
38 changes: 0 additions & 38 deletions
38
ArcGISRuntimeSDKQt_CppSamples/AR/DisplayScenesInTabletopAR/PermissionsHelper.h
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
ArcGISRuntimeSDKQt_CppSamples/AR/DisplayScenesInTabletopAR/android/AndroidManifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.esri.arcgis.DisplayScenesInTabletopAR" android:installLocation="auto" android:versionCode="-- %%INSERT_VERSION_CODE%% --" android:versionName="-- %%INSERT_VERSION_NAME%% --"> | ||
|
||
<uses-sdk android:minSdkVersion="24" android:targetSdkVersion="28"/> | ||
|
||
<!-- required at targetSdkVersion=30 to check for arcore support --> | ||
<queries> | ||
<package android:name="com.google.ar.core"/> | ||
</queries> | ||
<!-- %%INSERT_PERMISSIONS --> | ||
<uses-permission android:name="android.permission.CAMERA"/> | ||
<!-- %%INSERT_FEATURES --> | ||
<uses-feature android:name="android.hardware.camera.ar" android:required="true"/> | ||
<supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:smallScreens="true"/> | ||
<application android:name="org.qtproject.qt.android.bindings.QtApplication" android:hardwareAccelerated="true" android:label="-- %%INSERT_APP_NAME%% --" android:requestLegacyExternalStorage="true" android:allowNativeHeapPointerTagging="false" android:allowBackup="true" android:fullBackupOnly="false"> | ||
<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="unspecified" android:exported="true"> | ||
<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.arguments" android:value="-- %%INSERT_APP_ARGUMENTS%% --"/> | ||
<meta-data android:name="android.app.extract_android_style" android:value="minimal"/> | ||
<meta-data android:name="com.google.ar.core" android:value="required"/> | ||
</activity> | ||
</application> | ||
</manifest> |
82 changes: 82 additions & 0 deletions
82
ArcGISRuntimeSDKQt_CppSamples/AR/DisplayScenesInTabletopAR/android/build.gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
buildscript { | ||
repositories { | ||
google() | ||
mavenCentral() | ||
} | ||
|
||
dependencies { | ||
classpath 'com.android.tools.build:gradle:7.0.2' | ||
} | ||
} | ||
|
||
repositories { | ||
google() | ||
mavenCentral() | ||
} | ||
|
||
apply plugin: 'com.android.application' | ||
|
||
dependencies { | ||
implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar']) | ||
implementation 'com.google.ar:core:1.11.0' | ||
} | ||
|
||
android { | ||
/******************************************************* | ||
* The following variables: | ||
* - androidBuildToolsVersion, | ||
* - androidCompileSdkVersion | ||
* - qtAndroidDir - holds the path to qt android files | ||
* needed to build any Qt application | ||
* on Android. | ||
* | ||
* are defined in gradle.properties file. This file is | ||
* updated by QtCreator and androiddeployqt tools. | ||
* Changing them manually might break the compilation! | ||
*******************************************************/ | ||
|
||
compileSdkVersion androidCompileSdkVersion.toInteger() | ||
buildToolsVersion androidBuildToolsVersion | ||
ndkVersion androidNdkVersion | ||
|
||
// Extract native libraries from the APK | ||
packagingOptions.jniLibs.useLegacyPackaging true | ||
|
||
sourceSets { | ||
main { | ||
manifest.srcFile 'AndroidManifest.xml' | ||
java.srcDirs = [qtAndroidDir + '/src', 'src', 'java'] | ||
aidl.srcDirs = [qtAndroidDir + '/src', 'src', 'aidl'] | ||
res.srcDirs = [qtAndroidDir + '/res', 'res'] | ||
resources.srcDirs = ['resources'] | ||
renderscript.srcDirs = ['src'] | ||
assets.srcDirs = ['assets'] | ||
jniLibs.srcDirs = ['libs'] | ||
} | ||
} | ||
|
||
tasks.withType(JavaCompile) { | ||
options.incremental = true | ||
} | ||
|
||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_1_8 | ||
targetCompatibility JavaVersion.VERSION_1_8 | ||
} | ||
|
||
lintOptions { | ||
abortOnError false | ||
} | ||
|
||
// Do not compress Qt binary resources file | ||
aaptOptions { | ||
noCompress 'rcc' | ||
} | ||
|
||
defaultConfig { | ||
resConfig "en" | ||
minSdkVersion qtMinSdkVersion | ||
targetSdkVersion qtTargetSdkVersion | ||
ndk.abiFilters = qtTargetAbiList.split(",") | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.