Kevin McMahon

Chicago based mobile developer.

Android Crash Course by Kevin McMahon (pdf)
Last updated on October 1, 2012

Guides, Tutorials and Links

Open Source Apps

Bootstrap

Quick Refresh of Android System Stack

Android Application Concepts

Android Life Cycle

Android Project Setup and Configuration

UI View Components

View Hierarchies

Root View

Content View

Rendering of Views

Arranging Layouts

4 main layout managers

FrameLayout

LinearLayout

RelativeLayout

TableLayout

Security

Linux Security Model

Android Security Model

Android File System Isolation

Application Signing, Attribution and Attestation

Android Preferences and Database Isolation

Application Permissions

Steps to Manually Build a Release APK

  1. Generate Release Key
    $ keytool -genkey -v -keystore sampleapp.keystore -alias sampleapp -keyalg RSA -keysize 2048 -validity 10000

  2. Build in release mode
    $ ant release

  3. Sign and Verify
    $ jarsigner -verbose -keystore keystore/sampleapp.keystore bin/sampleapp-release-unsigned.apk sampleapp
    $ jarsigner -verbose -verify bin/sampleapp-release-unsigned.apk

  4. Zipalign
    $ zipalign -v 4 sampleapp-release-unsigned.apk sampleapp-release.apk

Resources

Tools

SDK Tools (most useful tools in bold)

Build Tools

Platform Tools

IDEs

Packaging

Key Development Frameworks

Testing Frameworks