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.clean.source.folder
Deprecated. Specifies whether you want Mobile Designer to clean the source tree of files that were created when applying patches before Mobile Designer creates the final Android application package file (apk).
Platforms | Android |
Value | true to clean the source tree. Specify true to prevent files created when applying patches from being incorporated into the final application package file. false to leave the source tree as is before creating the final application package file. |
Default | true |
android.direct.to.surfaceview
Deprecated. Specifies whether you want the application to direct Canvas.paint method calls directly to the device’s screen or to use blitting to copy the surface to the screen.
Platforms | Android |
Value | true to direct Canvas.paint to render directly to the screen. false to direct Canvas.paint to render to an off-screen bitmap, which is then blitted to the screen. |
Default | false |
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.nativeui.navview.version
Deprecated. Specifies the rendering style for the native user interface view (nUINavView).
Platforms | Android |
Value | 1 to specify the pop-up Menu navigation view from the Android SDK version 3.x or earlier. 2 to specify the always visible navigation view in the Android SDK version 4.x or later. |
Default | 2 |
android.nativeui.view.header.version
Deprecated. Specifies the rendering style for the Android native user interface view display (nUIViewDisplay) header.
Platforms | Android |
Value | 1 to specify the Android OS 2.3.4 and earlier, API level 10 or lower, thin grey header. 2 to specify the Android OS 3.0 and higher, API level 11 and higher, larger black header with app icon and back chevron. |
Default | 2 |
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.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. |
android.target.sdk.version
Deprecated - will always build against newest installed. Specifies the value that you want
Mobile Designer to insert into the AndroidManifest.xml file for the
targetSdkVersion setting. The
targetSdkVersion setting indicates the highest Android application programming interface (API) level for which you have ensured your mobile application is backward compatible. In other words, you have ensured that your application runs as expected at the level you specify in
targetSdkVersion down to the level you specify for the
android.min.sdk.version property.
Newer versions of the Android platform include behavior that mimics the expected functionality of older versions to support backward compatibility. However, the newer Android platform only uses the backward compatible behavior required to support the API level specified in targetSdkVersion. For example, if a device is running Android level 15, but your application has been tested for level 11 and you want backward capability for level 11, set the android.target.sdk.version property to 11. In turn, Mobile Designer inserts the value 11 for the targetSdkVersion setting in the AndoidManifest.xml file. As a result, the Android level 15 platform mimics the expected behavior of Android level 11 platform when running your application.
Platforms | Android |
Value | An integer that designates the Android API level that you want to use for the <uses-sdk> element's targetSdkVersion setting in the AndroidManifest.xml file. |
Default | |
android.uses.surfaceview
Deprecated. Specifies whether you want the application to use the Android SurfaceView rendering model for 2D graphics.
Note: | Applications use the Android SurfaceView rendering model for 3D graphics by default. |
Platforms | Android |
Value | true to enable using the SurfaceView rendering model for 2D graphics. Note: | Although automatically enabled for 3D graphics, setting this to true for 2D graphics will switch the rendering model to SurfaceView from the normal View. |
false to disable using the SurfaceView rendering model for 2D graphics. |
Default | |
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 | 21 |
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 |