Sunday, February 07, 2010

Introduction to Android Development

Here are my notes about developing for Android:

Before anything I must say most of the meterial is very good quality and available at http://developer.android.com/

Installation

First and foremost make sure you have the latest Java SDK installed.

You need the SDK first. This is actually almost a download manager for your various versions of Android framework. And it includes an emulator too (a nice QEMU application). Download 1.5 - thats what I will be using.

Grab the latest Eclipse 'Classic' and install. Then install the Android Development plug-in from the update site.

The last thing you need to do is creating a 'device' for yourself. Just use the default settings with no other options.

Developing Hello World

Let's have a quick go at the standard Hello World.


A Little Theory

Activities

Services

Broadcasters

Intents

UI

Views and ViewGroups, Layouts

Animation

Service RPC

Threads

Event Driven programming

Tips & tricks

adb logcat

adb shell

Create packages using Eclipse Export

Eclipse shortcut-keys

Ctrl-1 Quick Fix

Ctrl-SpaceAuto-complete

Crtl-Shift-LList of shortcuts