Mobile Development 10.11 | webMethods Mobile SuiteWeb Help | Using webMethods Mobile Designer | Project Properties Reference | Cross-Compiler Properties | Android
 
Android
android.apk
Specifies a file name that Mobile Designer uses to override the name for the Android application package file.
Platforms
Android
Value
File name for the Android application package file
Default
File name as specified by the Multi Build dialog
android.backkey.valid
Specifies the action to take when the user presses the Back key, that is, whether to handle the Back key like all other keys or to terminate the application.
Platforms
Android
Value
*true to use the Back key like other keys.
*false to terminate the application.
Default
true
android.manifest.permissions
Specifies permissions that you want Mobile Designer to include in the AndroidManifest.xml file.
Platforms
Android
Value
A semicolon-separated list of permissions
Default
An empty String
android.manifest.xml
Specifies an override for the default AndroidManifest.xml file that Mobile Designer generates.
Platforms
Android
Value
The path to an alternate XML file to use instead of the default AndroidManifest.xml file
Default
An empty String
android.min.sdk.version
Specifies the value that you want Mobile Designer to insert into the AndroidManifest.xml file for the minSdkVersion setting, which defines the Android application programming interface (API) level.
Platforms
Android
Value
Value for minSdkVersion
Default
4
android.orientation.forced
Specifies whether you want the application to force the screen orientation to portrait or landscape, or whether you want the application to allow the screen to automatically rotate based on the device’s orientation.
Platforms
Android
Value
*portrait to force the screen display to use portrait mode.
*landscape to force the screen display to use landscape mode.
*An empty string to allow the screen to automatically rotate.
Default
An empty String
android.package
Specifies the name of the Java package that Mobile Designer uses for Android builds.
Platforms
Android
Value
Name of the Java package to use for Android builds
Default
com.softwareag.mobile.runtime
android.package.name
Specifies a String to override the name for the Android application package (APK) file.
Platforms
Android
Value
String to use for the APK file name
Default
Value of the android.package property with the selected.jarname appended to it
For example, if android.package is com.softwareag.mobileruntime and selected.jarname is myproject, the APK name would default to com.softwareag.mobileruntime.myproject.
android.studio.gradle.android.plugin.version
Specifies the version of the Gradle plugin to use when building Android projects. If this value is changed, it may also require a change in the version of Gradle that is used. This can be set with the additional property android.studio.gradle.distribution.url.
Platforms
Android
Value
An appropriate version number (e.g. 1.3.2).
Default
2.2.2
android.studio.gradle.distribution.url
Indicates the URL of the Gradle version to use to build this Android Studio project. Different versions of the Android builder for Gradle (set with android.studio.gradle.android.plugin.version) require different versions of Gradle. If the value is unset, then the value used in the project's gradle/wrapper/gradle.properties file is the default value specified by the current install of Android Studio.
Platforms
Android
Value
An appropriate URL.
Default
unset. At the time of writing, this leads to Android Studio indicating a value of https://services.gradle.org/distributions/gradle-7.1-all.zip.
android.studio.selected.buildtools.version
This property will automatically point to the highest version of Android build tools provided with the Android SDK. It will be autodetected at compile-time.
Platforms
Android
Value
Name of any valid folder in the build-tools folder delivered with the Android SDK. Usually of the form 25.0.1 or android-22.0.0.
Default
Will be set to the highest value available, taking the target sdk version into account.
android.studio.support.dependencies.root.dir
Gives the relative path from the root of the Android SDK installation to the Android support repository.
Platforms
Android
Value
Relative path pointing to the support folder.
Default
extras/android/m2repository/com/android/support
android.studio.selected.dependency.version.appcompatv7
This property will automatically point to the highest version of the v7 app compatibility library installed in the Android SDK. It will be autodetected at compile-time, taking the android.target.sdk.version property into account. So, if android.target.sdk.version is 23, possible values for android.studio.selected.dependency.version.appcompatv7 will be of the form 23.x.y.
Platforms
Android
Value
Name of any valid version folder in the appcompat-v7 repository delivered with the Android SDK. Usually of the form 23.4.0.
Default
Will be set to the highest value available, taking the target sdk version into account.
android.studio.selected.dependency.version.design
This property will automatically point to the highest version of the design support library installed in the Android SDK. It will be autodetected at compile-time, taking the android.target.sdk.version property into account. So, if android.target.sdk.version is 23, possible values for android.studio.selected.dependency.version.design will be of the form 23.x.y.
Platforms
Android
Value
Name of any valid version folder in the design support repository delivered with the Android SDK. Usually of the form 23.4.0.
Default
Will be set to the highest value available, taking the target sdk version into account.
project.additional.libs.path
Specifies the name of an Ant path that includes a list of folders or direct file locations where required native-shared libraries are located.
Platforms
Android
Value
Name of an Ant path
Default
project.cpp.additional.libs.path
project.android.sdk.version.override
Specifies the version of the SDK that you want to use for compiling.
Platforms
Android
Value
Version of the version of the SDK you want to use for compiling
Default
28
android.push.additional.icon.pre21api
If set, nominates an additional icon that will be copied to the application as res/raw/pushiconpre21.png and used as the in-application notification icon for incoming Push Messages for devices with device API earlier than 21. If this parameter is unset (default), then the the icon set in "android.push.additional.icon" or the application's main icon will be used instead.
Platforms
Android
Value
Icon res/raw/pushiconpre21.png
Default
not set
android.push.message.key
Determines the most important key within an incoming Push Message. This is the one that is returned to the application as the "primary message text" through MessageConnectionHandler.receivedTextMessage().
Platforms
Android
Value
Primary message text
Default
collapse_key
android.push.additional.icon
If set, nominates an additional icon that will be copied to the application as res/raw/pushicon.png and used as the in-application notification icon for incoming Push Messages. If this parameter is unset, then the icon set in "android.push.additional.icon.pre21api" or the application's main icon will be used instead.
Platforms
Android
Value
Icon res/raw/pushicon.png
Default
not set
android.push.icon.reference
This should not normally need to be set by the user. It will point to the icon used for Push Notifications within the application. Setting android.push.additional.icon will automatically change this value to "R.raw.pushicon". Advanced usage may include the use of ternary operators or method calls to specify an int value from R.java.
Platforms
Android
Value
R.raw.pushicon
Default
R.mipmap.icon