OOTPAPPS.com Android App Development Cheat Sheet
 Share
The version of the browser you are using is no longer supported. Please upgrade to a supported browser.Dismiss

 
View only
 
 
Still loading...
ABCDEFGHIJKLMNOPQRST
1
"The Resources I used to teach myself Java, Android and create my first published app in the Google Play Store..."
2
3
Author:Ryan Park - Out of the Park AppsIF this guide has helped you, please return the favor by either:
4
Download copy:Download PDF Copy- Sharing my Google Play app page on Facebook, Twitter, Google+
5
Related app:Author's Android App- Purchasing the donation version of my app from Google Play
6
Social accounts:Twitter Account- Sharing this PDF guide with other programmers eager to learn Android.
7
Facebook Page- OR, by following me on my social networking accounts.
8
Google+ Page
9
Thank you for your support, it took me many days to make this guide! - Ryan
10
11
Resources to Get StartedCategorySkill LevelContextLink
12
1Eclipse IDE SetupBeginnerYou need what's called an IDE to get started coding Android Apps. IDE is a fancy way of saying "the program you do the coding in", this program helps you code by assisting you with error checking, code suggestions, etc.http://developer.android.com/sdk/index.html
13
2Eclipse IDE SetupBeginnerUnder Window > Preferences > Java > Code Style > Formatter - Import this XML document into Eclipse to automatically format your code to Android specifications.https://raw.github.com/android/platform_development/master/ide/eclipse/android-formatting.xml
14
3Eclipse IDE SetupBeginnerWhile more trivial, import this into Eclipse as well (just below at Organize Imports) to define the appropriate order of your Android app's Imports.https://raw.github.com/android/platform_development/master/ide/eclipse/android.importorder
15
4Eclipse IDE SetupBeginnerBefore you start pounding away code, ensure your development environment is the most efficient. I used this guide to setup Eclipse for fast development.http://coding.smashingmagazine.com/2011/11/04/getting-the-best-out-of-eclipse-for-android-development/
16
5DesignBeginnerBefore creating any apps, go grab Google's official Android icons, stencils, fonts, etc. You're allowed to use these in your apps and you should because they're free!http://developer.android.com/design/downloads/index.html
17
6Java IntroductionBeginnerAndroid is based off Java, so it's a good idea to learn the basics of Java before starting.http://mobile.tutsplus.com/tutorials/android/java-tutorial/
18
7Android IntroductionBeginnerTo get started for Android, I suggested reading Google's own Introduction to Android development. It's a great primer and should help you get your footing before branching out into more specific topics.http://developer.android.com/training/index.html
19
8Android IntroductionBeginnerTake a look around for some of the free and useful Google services which will compliment your app development. I utilize many Webmaster, Startup and Mobile resources.https://developers.google.com/products/
20
21
Resources by CategoryCategorySkill LevelContextLink
22
App PreferencesBeginnerOften you want to prompt the user the first time they run your app, this is exactly how you do that! This guide demonstrates how to use an Android app's preferences to store settings like the first run of the app.http://stackoverflow.com/questions/7562786/android-first-run-popup-dialog
23
24
SQL DatabasesBeginnerIt's very handy store your app's data in a SQL database, this guide shows you how to set this up. Get on this soon so you don't have to redo your app's storage.http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/
25
26
DesignBeginnerThe Android Design guide by Google is a great place to start for layout design advice. Approach layout design with this in mind: you start with a layout defined by Google and follow the principles outlined in this guide to customize it for your app. Pay attention to the rules in this guide, they ensure your app looks great while also displaying properly on all Android phones.http://developer.android.com/design/index.html
27
DesignBeginnerNine patch images are images used by Android to provide flexible graphics that can match any screen size or pixel density. Nine patches are a very easy way to create a flexible layout, you should read this early on.http://stackoverflow.com/questions/4517693/how-does-a-9patch-png-work-in-android-apps
28
DesignBeginnerWhen you publish an app, you must own the rights to your graphics. Instead of buying graphics, find free ones like these!http://brankic1979.com/icons/
29
DesignIntermediateUsing the Holo theme is a must. However, old versions of Android don't support Holo. This guide is a must read on how to provide backwards Holo compatibility.http://www.chilisapps.com/blog/2012/04/17/support-holo-and-older-themes-in-android/
30
DesignBeginnerIn Android, given the number of different screen sizes and pixel densities, developing layouts with density independent pixels is very important. Read this to understand what the heck I'm saying.http://stackoverflow.com/questions/2025282/difference-of-px-dp-dip-and-sp-in-android
31
DesignBeginnerThe software keyboard often screws with your app's layout, this advice can help control the keyboard.http://stackoverflow.com/questions/1109022/close-hide-the-android-soft-keyboard
32
33
Android SpecificsBeginnerAndroid has a specific file called the Manifest which determines what permissions your app has, how it interacts with other apps and more. You must understand this, it's fundamental to any Android app.http://developer.android.com/guide/topics/manifest/manifest-intro.html
34
Android SpecificsBeginner / IntermediateEach Android "screen" is a unique Activity, this guide teaches you how to pass data between Activities with Intents. This concept is specific to Android, so you must read carefully with an open mind.http://developer.android.com/guide/components/intents-filters.html
35
Android SpecificsBeginnerThis demonstrates how to interact with other apps in Android such as opening a URL in the web browser.http://stackoverflow.com/questions/2201917/how-can-i-open-a-url-in-androids-web-browser-from-my-application
36
Android SpecificsBeginnerYou'll find the software keyboards on Android devices really mess up your layouts from time to time, this is how to fix some common problems.http://stackoverflow.com/questions/4207880/android-how-do-i-prevent-the-soft-keyboard-from-pushing-my-view-up
37
Android SpecificsBeginnerThe Activity is the life of all Android apps. The Activity is the view or screen you see on your phone, you MUST understand how Acitivities are created, resumed, destroyed, etc. You will use these events to trigger different aspects of your app's functionality.http://developer.android.com/reference/android/app/Activity.html
38
Android SpecificsIntermediateAndroid has some quirks about using Threads. For instance, any changes to the UI's views must be done on the main Thread and network operations can't be performed on the main Thread. Get a taste for Threading in Android here.http://stackoverflow.com/questions/5161951/android-only-the-original-thread-that-created-a-view-hierarchy-can-touch-its-vi
39
Android SpecificsIntermediateHow does Android save your Activity (screen) when you leave the app and do something else? This is how.http://stackoverflow.com/questions/151777/saving-activity-state-in-android
40
41
Tips and TricksIntermediateIn Android you often need to get context, as in, where was this code running? This concept is a bit of a mind screw, so read this, implement it and you'll be glad.http://stackoverflow.com/questions/2002288/static-way-to-get-context-on-android
42
Tips and TricksIntermediateLearn how to use the Application class to create a central place for "global" variables in your app and global helper Methods.http://stackoverflow.com/questions/708012/android-how-to-declare-global-variables
43
44
Bug TestingIntermediateThe Monkey helps you test your app, it wonders through your app and creates random clicks, touches, gestures, etc. Use the Monkey before publishing!http://developer.android.com/tools/help/monkey.html
45
46
LocalizationIntermediate / AdvancedLocalization (making an app local to the user) is difficult to understand and master. Android's guide is the best resource, read very carefully, sublte details make major differences here.http://developer.android.com/guide/topics/resources/localization.html
47
48
Multi-taskingAdvancedWhile for most apps Tasks (drawn from the idea of multi-tasking) don't need to be messed with, when it comes to Widget clicks or Notification clicks you MUST understand how Tasks work, this is the best guide for this!http://developer.android.com/guide/components/tasks-and-back-stack.html
49
Multi-taskingAdvancedThis is a very specific sub-section of the guide above for Tasks, this is a very important part to understand, read this 3 times.http://developer.android.com/guide/components/tasks-and-back-stack.html#ManagingTasks
50
51
NotificationsIntermediateNotifications are super important for apps to deliver meaningful alerts to the user. Notifications should be kept simple, read this guide to gain an understanding of notifications and the appropriate style to use.http://developer.android.com/guide/topics/ui/notifiers/notifications.html
52
53
WidgetsIntermediateWhen you want to create homescreen widgets for your app, start here.http://www.vogella.com/articles/AndroidWidgets/article.html
54
WidgetsIntermediateWhen creating Widgets there are some very specific settings. Use this guide to setup the size of your widget.http://stackoverflow.com/questions/10788068/widget-minwidth-for-having-n-columns
55
56
MonetizationBeginnerBefore adding ads to your app, read this to understand how to setup the AdMob SDK for use in your app.https://developers.google.com/mobile-ads-sdk/docs/
57
MonetizationBeginnerFamiliarize yourself with this guide at the beginning and end of app development, you must be aware how ads will effect your layouts. After polishing your app, read the introduction first and then follow this to add ads to your app.https://developers.google.com/mobile-ads-sdk/docs/admob/fundamentals
58
59
PublishingIntermediateKeep Checklist in mind while developing, follow Checklist while publishing.http://developer.android.com/distribute/googleplay/publish/preparing.html
60
PublishingIntermediateBefore publishing review this for a sense of the "big picture".http://developer.android.com/tools/publishing/publishing_overview.html
61
PublishingIntermediateUse this to gain confidence that your app is near publishing quality.http://developer.android.com/tools/publishing/preparing.html#publishing-intro
62
PublishingIntermediateIf you've followed the other publishing links above, your app should have the quality it needs already. Use this link to double-check your apps polish.http://developer.android.com/distribute/googleplay/quality/core.html
63
PublishingIntermediateGoogle gives you everything you need to wrap your app in a License, this is free authentication provided by Google and it's not that hard to implement! Add licensing to all of your apps before publishing!http://www.droidforums.net/forum/android-app-developers/69899-market-license-easy-implementation-protect-your-apps.html
64
PublishingIntermediateLearn how to digitally sign your app, don't worry, it's not that hard! At this point you're ready to publish your app!http://developer.android.com/tools/publishing/app-signing.html#cert
65
PublishingBeginnerWhen you're done your app for publishing, get working on your graphics for your Play Store page! Graphics are very important to increase your downloads, don't skimp here at all!http://support.google.com/googleplay/android-developer/bin/answer.py?hl=en&answer=1078870
66
PublishingBeginnerOnce done your graphics, come up with a short write-up (<1,000 characters) for your app, stating its key benefits and features, and how it solves user problems, and come here to create your Google Play App profile (publish your app to the store).https://play.google.com/apps/publish/v2/
67
PublishingIntermediateAfter publishing at the Google Play Store, publish to additional stores like AndroidPit. Note: you may have to make some code changes for your app to be displayed in a 3rd party store.http://www.androidpit.com/
68
PublishingAdvancedSo, you've published your app, but now you're scared to upgrade it because it's got a database in it? Here's the logic behind doing DB upgrades to a published app in the Play Store.http://denverdroid.blogspot.ca/2010/04/how-to-non-destructibly-upgrade-your.html
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
Loading...
 
 
 
Sheet1