Monday, April 25, 2011

Getting Start with Android

Repost from old blog (Nov. 5, 2009) with some updates.

On the eve of the launch of Motorola Droid by Verizon Wireless, I started working on Android. I picked Android because its huge potential market. Second, I can utilized my current tools to develop mobile apps without spending more money. With this current economy, I need to save for the rainning days. I can use my existing Windows system to develop an Android app. On the other hand, I need to spend thousand dollar more to purchase a MacBook for iPhone development.

System Requirements (http://developer.android.com/sdk/requirements.html) need to install in order
1. First thing first, download and install JavaTM Platform, Standard Edition Development Kit (JDKTM) if it's not exist in your system. For Ubuntu Linux, using Ubuntu Software Center to install and configure Sun Java(TM) Development Kit 6 sun-java6-jdk package.
2. Download and extract Eclipse IDE for Java EE Developers to your root (C:\) in Microsoft Windows or your home folder in Linux. For Ubuntu Linux, the current version in Software Center is not up to date and you may forgot to install other required development plug-ins like eclipse-pde, eclipse-jdt in addition to Eclipse Integrated Development Environment, so just download the latest version from Eclipse.org site and extract to your home folder.
3. Download and extract Android SDK to your root (C:\) in Microsoft Windows or your home folder in Linux.
Optional:
For Microsoft Windows, update system variables path=%path%;C:\android-sdk-windows\tools if necessary according to http://developer.android.com/sdk/installing.html
4. Download and configure ADT Plugin for Eclipse per instructions at http://developer.android.com/sdk/eclipse-adt.html#preparing
5. Adding SDK Components

Finally, working with the first simple sample project: "Hello, World" http://developer.android.com/guide/tutorials/hello-world.html

No comments:

Post a Comment