1. Publishing your Android application
Presented by
Adrian Mikeliunas
Adrian@Mikeliunas.com
TASKMobileSolutions.com
2. Publishing your Android application
MoDevAcademy
MoDevAcademy will offer professional training across
platforms that include beginner, intermediate and
advanced courses.
The format will be one day courses that can be taken
individually or paired for a multi-day experience. The
Academy intended to fill a much needed void in the
market for in-depth mobile developer training.
2
3. Upcoming Classes
Schedule:
• January 22nd: Starting up with iOS Development
• January 23rd: Expert Objective-C
• January 24th: Advanced Xcode Development
Register at MoDevAcademy.com/Registration
4. Online Resources
The references in this presentation, and many other
resources are available at:
http://Gomodev.com/MoDevAcademyResources
6. Publishing your Android application
Why Publish your App?
Android apps can be installed directly from:
Web site [internal or external]
Email atachment
USB cable…
Example:
apps.worldbank.org
6
10. Publishing your Android application
Android App Research
Play.Google.com
www.distimo.com
www.visionmobile.com
10
11. There is an app for every need…
Source: 148Apps.biz, iTunes App Store (iOS), updated 2012-03-26
Application categories as percentage of the number of iOS apps
15. Publishing your Android application
Application Screen Prototype
Online tools to build the
Graphical User Interface (GUI)
www.mobjectify.com
www.fluidui.com
www.droiddraw.org
15
16. Publishing your Android application
Publishing Your Application
Clean up work
Build Market entry
Text
Graphics!
Upload & Publish
16
17. Publishing your Android application
Preparing Application-Clean up-1
Choose a good package name:
com.mycompanyname.myapp1 is good for the entire life
of the app [can’t be changed!]
Turn off logging & debugging
Remove android:debuggable attribute from the
<application> tag in your manifest file
Clean up your project directories
17
18. Publishing your Android application
Preparing Application-Clean up-2
Review and update your manifest settings,
Increment Version#
Review permissions to add or delete
Address compatibility issues [screen sizes]
Update URLs for remote servers & services [if any!]
Compile & Test Your Application for Release
Did you Register for a Maps API Key?
18
19. Publishing your Android application
Publishing Application-1
Understand Entire Process before you start!
Understand Google Play Policies
Test for Core App Quality
Copy Protection
Determine your app's content rating
Yes, Android has an adult market as well…
19
20. Publishing your Android application
Publishing Application-2
Determine country/language distribution
Do you support multi-language? (localized resources in the app)
Localized app description in the Developer Console
Legal requirements specific to certain countries
Time zone support, local pricing, and so on…
Confirm the app's overall size (<50MB)
Large apps can use the APK Expansion Files, which Google Play
will host for free on its server infrastructure
Confirm the app's platform / screens
20
21. Publishing your Android application
Publishing Application-3
Set prices for your products
Free or priced? In-App billing?
Free apps must remain free!
Prepare store graphics, (all 24 bit PNG unless noted)
Screenshots* [2!] 320w x 480h, 480w x 800h, or 480w x 854h
Application Icon* 512x512, 32-bit PNG
Promotional graphic: 180w x 120h
Feature Graphic : 1024w x 500h
Video Link (Optional) YouTube video URL
* Required
21
22. Publishing your Android application
Publishing Application-4
Build and upload the release-ready APK
Click Publish!
Wait 3 to 4 hours…
Start Marketing your app! Get reviews, go social!
Start supporting your app via web site or email…
22
23. Publishing your Android application
Signing Your Applications-Eclipse
Behind the scenes when you export your project from Eclipse:
After you finish configuring your application you can build it into a
release-ready .apk fle that is signed and optimized. The JDK
includes the tools for signing the .apk file (Keytool and Jarsigner);
Eclipse does this for your automatically…
Select File Export from the Eclipse menu
If it’s the first time you will create a key to sign your app
Otherwise you will enter your password to access your keyfile
23
24. Publishing your Android application
Signing Your Applications-Ant
Behind the scenes when you export your project from ant:
$ ant release
$ keytool -genkey -v -keystore my-release-key.keystore
-alias alias_name -keyalg RSA -keysize 2048 -validity 10000
http://developer.android.com/tools/publishing/app-signing.html
24
25. Publishing your Android application
Exporting Android Project-1
From Eclipse menu,
Select the project you
would like to export, then
select from the File menu,
Export
Select “Export Android
Application”
25
26. Publishing your Android application
Exporting Android Project-2
Confirm Project
Name
Select Keystore
26
27. Publishing your Android application
Exporting Android Project-3
Confirm Project
Name
Enter your self-
signing key and
password
27
28. Publishing your Android application
Exporting Android Project-4
Export your application to a directory you’ll remember
28
29. Publishing your Android application
Exporting Android Project-5
Upload your apk to the Google market now!
29