O'Reilly logo

Android Design Patterns and Best Practice by Kyle Mew

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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"  ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required