Publishing apps

It goes without saying that you will have exhaustively tested your app on a wide variety of handsets and emulators and probably prepared your promotional material and checked out Google Play Policies and Agreements. There are many things to consider before publication, such as content rating and country distribution. From a programming point of view, there are just three things that we need to check before we proceed:

  • Remove all logging from the project such as the following:
    private static final String DEBUG_TAG = "tag"; 
    Log.d(DEBUG_TAG, "some info"); 
  • Make sure you have an application label and icon declared in your manifest. Here's an example:
    android:icon="@mipmap/my_app_icon"    android:label="@string/my_app_name"  ...

Get Android Design Patterns and Best Practice now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.