diff --git a/doc/images/qtcreator-android-application.png b/doc/images/qtcreator-android-application.png deleted file mode 100644 index cba4907dc97..00000000000 Binary files a/doc/images/qtcreator-android-application.png and /dev/null differ diff --git a/doc/images/qtcreator-android-libraries.png b/doc/images/qtcreator-android-libraries.png deleted file mode 100644 index 6058fed8311..00000000000 Binary files a/doc/images/qtcreator-android-libraries.png and /dev/null differ diff --git a/doc/images/qtcreator-android-manifest-editor.png b/doc/images/qtcreator-android-manifest-editor.png new file mode 100755 index 00000000000..9d7941aa301 Binary files /dev/null and b/doc/images/qtcreator-android-manifest-editor.png differ diff --git a/doc/images/qtcreator-android-manifest.png b/doc/images/qtcreator-android-manifest.png old mode 100644 new mode 100755 index 121ffc8b53f..4621106eac2 Binary files a/doc/images/qtcreator-android-manifest.png and b/doc/images/qtcreator-android-manifest.png differ diff --git a/doc/images/qtcreator-android-permissions.png b/doc/images/qtcreator-android-permissions.png deleted file mode 100644 index 32bd825bcd2..00000000000 Binary files a/doc/images/qtcreator-android-permissions.png and /dev/null differ diff --git a/doc/images/qtcreator-android-sign-package.png b/doc/images/qtcreator-android-sign-package.png old mode 100644 new mode 100755 index 6dc628db800..31acf1af719 Binary files a/doc/images/qtcreator-android-sign-package.png and b/doc/images/qtcreator-android-sign-package.png differ diff --git a/doc/src/android/creator-projects-settings-run-android.qdocinc b/doc/src/android/creator-projects-settings-run-android.qdocinc index 8ed0828df10..a42ec97a256 100644 --- a/doc/src/android/creator-projects-settings-run-android.qdocinc +++ b/doc/src/android/creator-projects-settings-run-android.qdocinc @@ -1,14 +1,13 @@ - To specify information for the Android manifest file, select \gui Projects > + To configure Android packages, select \gui Projects > \gui Run > \gui {Package configurations}. The Android system uses the information from the file to start application components. - \section2 Specifying Package Data + \image qtcreator-android-manifest.png "Package configuration" - In the \gui Manifest tab, you can select the API level to use for the - Android target SDK and the name and version number for the application - package. + \section2 Selecting API Level - \image qtcreator-android-manifest.png "Manifest tab" + In the \gui {Android target SDK} field, you can select the API level to use + for the Android target SDK. For more information about Android API levels, see \l{http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels} @@ -21,43 +20,15 @@ \note The android-4 API level does not support multitouch. If your application needs multitouch, select a higher API level. - In the \gui {Package name} field, enter a package name for the application. - The application is launched by an automatically generated Java launcher that - is packaged with the application into an Android package (.apk). For more - information, see - \l{http://developer.android.com/guide/components/fundamentals.html} - {Android Application Fundamentals}. - - \section2 Specifying Application Data - - In the \gui Application tab, you can select an icon for the application and - give the application a name. - - \image qtcreator-android-application.png "Application tab" - - \section2 Setting Permissions - - In the \gui Permissions tab, you can specify the permissions that your - application needs. Users are asked to grant the permissions when they - install the application. Android OS then grants the application access to - the appropriate data and features. - - \image qtcreator-android-permissions.png "Permissions tab" - - Select from existing Android permissions or add new ones to deploy the - application to a particular Android OS. - \section2 Selecting Qt Libraries - In the \gui Libraries tab, specify which Qt libraries the application uses. + In the \gui Libraries group, specify which Qt libraries the application uses. To automatically determine this, select \gui {Read Infomation from Application (Must Be Compiled)}. Alternatively, you can manually select the Qt libraries and the external libraries you think your application needs. Make sure to arrange the libraries so that depended libraries appear before the ones that depend on them. - \image qtcreator-android-libraries.png "Libraries tab" - These entries are used by the Ministro tool to determine which Qt libraries to download. @@ -66,8 +37,38 @@ \section2 Signing Android Packages - In the \gui {Sign Package} tab, you can sign the Android package by using + In the \gui {Sign Package} group you can sign the Android package by using a private key from the keystore. To create new keys, select \gui Create. - \image qtcreator-android-sign-package.png "Sign Package tab" + \image qtcreator-android-sign-package.png "Sign Package" + \section1 Editing Manifest Files + + To specify information for the Android manifest file, open it in \QC. + + \image qtcreator-android-manifest-editor.png "Android Manifest Editor" + + Select the \gui {XML Source} tab to edit the file in XML format. + + In the \gui {Package name} field, enter a package name for the application. + The application is launched by an automatically generated Java launcher that + is packaged with the application into an Android package (.apk). For more + information, see + \l{http://developer.android.com/guide/components/fundamentals.html} + {Android Application Fundamentals}. + + You can specify an internal version number for the package in the + \gui {Version code} field. It is used to determine whether one version of + the application is more recent than another. In the \gui {Version name} + field, specify the version number that is shown to users. + + In the \gui Application group, you can give the application a name and + select an icon for it. The three icon fields can contain different versions + of the icon with low, medium, and high DPI values, from left to right. + + In the \gui Permissions field, you can specify the permissions that your + application needs. Users are asked to grant the permissions when they + install the application. Android OS then grants the application access to + the appropriate data and features. + + To add permissions, select \gui Add and select permissions from the list.