background preloader


Facebook Twitter

Overview. Preparing for Release. Before you distribute your Android application to users you need to prepare it for release.

Preparing for Release

The preparation process is a required development task for all Android applications and is the first step in the publishing process (see figure 1). When you prepare your application for release, you configure, build, and test a release version of your application. The configuration tasks are straightforward, involving basic code cleanup and code modification tasks that help optimize your application. The build process is similar to the debug build process and can be done using JDK and Android SDK tools. The testing tasks serve as a final check, ensuring that your application performs as expected under real-world conditions. Building in Release mode. There are two ways to build your application using the Ant build script: one for testing/debugging your application — debug mode — and one for building your final package for release — release mode.

Building in Release mode

Regardless of which way you build your application, it must be signed before it can install on an emulator or device—with a debug key when building in debug mode and with your own private key when building in release mode. Whether you're building in debug mode or release mode, you need to use the Ant tool to compile and build your project. This will create the .apk file that you can install on an emulator or device. When you build in debug mode, the .apk file is automatically signed by the SDK tools with a debug key, so it's instantly ready for installation onto an emulator or attached development device. You cannot distribute an application that is signed with a debug key.

If you don't have Ant, you can obtain it from the Apache Ant home page. Set JAVA_HOME=c:\Progra~1\Java\<jdkdir> ant test. Signing. Android requires that all apps be digitally signed with a certificate before they can be installed.


Android uses this certificate to identify the author of an app, and the certificate does not need to be signed by a certificate authority. Android apps often use self-signed certificates. The app developer holds the certificate's private key. Signing Overview. Launch Checklist. Before you publish your app on Google Play and distribute it to users, you need to get the app ready, test it, and prepare your promotional materials.

Launch Checklist

This document helps you understand the publishing process and get ready for a successful product launch on Google Play. It summarizes some of the tasks you'll need to complete before publishing your app on Google Play, such as creating a signed, release-ready APK, understanding the requirements of the app, and creating the product page and graphic assets for your app. The preparation and publishing tasks are numbered to give you a rough idea of sequence. However, you can handle the tasks in any sequence that works for you or you can skip steps as appropriate. As you move toward publishing, a variety of support resources are available to you.

Filters on Google Play. When a user searches or browses for apps to download on Google Play, the results are filtered based on which applications are compatible with the device.

Filters on Google Play

For example, if an app requires a camera, Google Play would not show the app to devices that do not have a camera. This filtering helps developers manage the distribution of their apps and helps ensure the best possible experience for users. Filtering in Google Play is based on several types of app metadata and configuration settings, including manifest declarations, required libraries,architecture dependencies, and distribution controls set in the Google Play Developer Console, such as geographic targeting, pricing, and more.

Google Play filtering is based in part on manifest declarations and other aspects of the Android framework, but actual filtering behaviors are distinct from the framework and are not bound to specific API levels. Devices % Google Play Install Stats The Google Play Developer Console also provides detailed statistics about your users' devices.

Devices %

Those stats may help you prioritize the device profiles for which you optimize your app. This page provides information about the relative number of devices that share a certain characteristic, such as Android version or screen size. Exclude SDK versions. Google Play Filtering Google Play uses the <uses-sdk> attributes declared in your app manifest to filter your app from devices that do not meet it's platform version requirements.

Exclude SDK versions

Before setting these attributes, make sure that you understand Google Play filters. syntax: contained in: description: Lets you express an application's compatibility with one or more versions of the Android platform, by means of an API Level integer. Despite its name, this element is used to specify the API Level, not the version number of the SDK (software development kit) or Android platform. Supporting Multiple Screens. Android runs on a variety of devices that offer different screen sizes and densities.

Supporting Multiple Screens

For applications, the Android system provides a consistent development environment across devices and handles most of the work to adjust each application's user interface to the screen on which it is displayed. At the same time, the system provides APIs that allow you to control your application's UI for specific screen sizes and densities, in order to optimize your UI design for different screen configurations. For example, you might want a UI for tablets that's different from the UI for handsets. Exclude screens. Android:resizeable Indicates whether the application is resizeable for different screen sizes.

Exclude screens

This attribute is true, by default. If set false, the system will run your application in screen compatibility mode on large screens. This attribute is deprecated. It was introduced to help applications transition from Android 1.5 to 1.6, when support for multiple screens was first introduced. Android:smallScreens. Supported devices. What’s new in Google Play. DOM TOM. Android Réunion. Play Store Categories.