
Android operating system has been available as open source since October 2008 and getting popular everywhere.
Currently it’s only available commercially on mobile phone such HTC Hero and Portable Audio Video such Archos. Acer recently announced Acer Android-based netbook available now for pre-order.
4G WiMAX ecosystem also pay attention at Android. ITRI in Taiwan recently launched its Android-based WiMAX PID and CLEAR in U.S. just release Android WiMAX framework.
Analysts suggest that by 2012, Android could be the second largest mobile phone OS with 14% of the market, behind Symbian (with 36%) and in front of iPhone OS (with 13%). Gartner suggests “Android is simply licensed to more manufacturers with strong companies like HTC, LG, and Dell behind it.
An Android geek said that if we talk about Android phone there will be three party that involve Google,Manufacture and Operator.Among them Google is dominated.
But where are the Android Developers involved ? Android phone will be an expensive phone if user can’t customized it with many applications from developer community.
Many programmer want to develop an Android project. Especially because you can sell the Android Applications on Android Market.
For the first Android project you can try to create an awesome game because the game application for Android apparently become the top free applications on the Android Market.
Android Market enables developers to easily publish and distribute their applications directly to users of Android-compatible phones. For a comprehensive, up-to-date list of the thousands of titles that are available, you will need to view Android Market on a handset.
Originally only freeware applications were supported. Paid-for apps have been available on the Android Market in the United States since 19 February 2009.
So if you dream to earn money from your Android Applications, but doesn’t have any Android-based device even the old HTC Dream aka T-Mobile G1.
Eventhough Android running on the Linux kernel but don’t worry you can set up Android developer environment in Windows XP (32-bit) or Vista (32- or 64-bit).
Actually Android SDK also available for several platform, for example Mac OS X 10.4.8 or later (x86 only), Linux (tested on Linux Ubuntu Hardy Herob).
Android Applications developed in Java and the development platform is really easy to get into. It features XML (DSL) for GUI interface building, easy strings internationalization, app storage within SQLite database, background processes management etc. To make a long story short, it’s how modern mobile application development platform should look like.
The only downside is that all Android applications are in Java, and for some developers Java became the synonym of slowness (although it’s not that slow on Android).
Anyway this Android tutorial only share about how to set up the developer Environment in Windows XP platform. But remember for the base SDK package you will need at least 600MB available disk space. For each platform downloaded into the SDK, an additional 100MB is needed.
Basically you will need these five main steps :
- Download and Install the Android SDK and test the Android Emulator.
- Install Java
- Install Eclipse, a professional editor.
- Install ADT Plugin in Eclipse : The ADT (Android Development Tools) plugin includes a variety of powerful extensions that make creating, running, and debugging Android applications faster and easier.
- Create “HeloWorld” application
Here’s the detail step by step installation :
1.1 Download Android SDK ( current version android-sdk_r3-windows.zip ). The zip file is 230MB.
1.2. Create folder C:\android. Extract Android SDK and put in C:\android

1.3.Now, set your PATH environment variable by right click on My Computer, and select Properties. Under the Advanced tab, hit the Environment Variables button, and in the dialog that comes up, double-click on Path under System Variables. Add the full path to the tools/ directory to the path, in this case, it is:
C:\android\android-sdk-windows-1.6_r1\tools. C:\android\android-sdk-windows\tools Then click OK , OK , OK.

1.4.Click on Start > All Programs > Accessories > Command prompt and type emulator, then hit ENTER , in a couple seconds the emulator will appear, please wait when it’s starting up.

1.5. Click on Browser button.

1.6. Click on the Menu button, then click on Go to URL … Type in a website address you want to view and press ENTER, example: http://www.androidinius.com.

2.1 Download the latest Java which is Java SE Development Kit (JDK) JDK 6 Update 16 ( JDK 6u16 ) but remember JRE alone is not sufficient.
2.2 Select platform “Windows”, check into the box “I agree to …” and then click on the button “Continue”
2.3 Click on the file name (jdk-6u16-windows-i586-p.exe) to start to download the Java SDK
2.4 After it has finished downloading, you will have this file in your directory (C:\android). Double click on file that was downloaded to start install Java SDK.
2.5 Accept agreement. And click Next to start install.
3.1 Download Eclipse 3.5 (Galileo) for Windows.Current file is eclipse-jee-galileo-SR1-win32.zip
3.2.After it has finished downloading, you will have this file in your directory (C:\). Extract this file.

3.3 Double-click on the file c:\eclipse\eclipse.exe to run Eclipse editor.

3.4. Click OK to Continue.

4.1 Install ADT Plugin by start Eclipse.If you are using a proxy, please go to Windows > Preferences > General > Network Connections, choose “Manual proxy configuration” and type your proxy address here. If you are using a direct internet connection, you do not need to do this step.Click Help > Software Updates

4.2 Choose “Available Software” tab, then click on the button “Add Site …”

4.3 Copy and paste this link into input box “Location”: https://dl-ssl.google.com/android/eclipse/“, click OK

4.4 Back in the Available Software view, you should see the plugin. “Android Developer Tools”, and “Android Editors” should both be checked. The Android Editors feature is optional, but recommended. Then click on the button “Install …”

4.5 Click on the button Next

4.6 Check the “I accept the terms of the license agreements” and click Finish.
4.7 Wait to Eclipse download the plugin

4.8 Eclipse will ask to restart, click on the button Yes
4.9 After restart, update your Eclipse preferences to point to the SDK directory:

4.10. Select Window > Preferences… to open the Preferences panel.
4.11. Select Android from the left panel. If you get a dialog says: “Could not find folder ‘tool’ inside SDK …”, just click on the button OK

4.12. For the SDK Location in the main panel, click Browse… and locate the SDK directory.
4.13 Click Apply, then OK.
5.1 Create “HeloWorld” application. This will show you how to make the first simple Android application with Eclipse.Click File > New > Other….

5.2 Click on Android Project and click Next.

5.3 Fill out the form and click Finish.

5.4 Change the code in HelloWorld.java to the following.
<p>package com.androidcore.hello;
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
public class HellWorld extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
//setContentView(R.layout.main);
TextView tv = new TextView(this);
tv.setText(”Hello, Android”);
setContentView(tv);
}
}</p>

5.5 Click on menu Run, choose Run Configurations.

5.6 Click on Android Application, fill in Name, Project.Click on the “Launch” choice, choose Activity.Then click on button Run.

5.7 Once Android Emulator is booted up, your application will appear. When all is said and done, you should see something like this:

5.8 Congratulation ! You scan start to create Android project by reading this “Hello,World”
No comments yet.
Comments RSS TrackBack Identifier URI
Leave a comment

























No Comments