What
is Android
Android is a mobile operating system. It is
developed by Google. Android is free and open; hence, most of the Android code
are released under the open-source Apache License, which means that anyone who
wants to use Android can do so by downloading the full Android source
code. Nowadays many touch screen mobile devices such as smart phones
and tablet computers are using Android operating system.
Android has many versions and Each Android
version has a code name.
Android Version
|
Code Name
|
1.1
|
|
1.5
|
Cupcake
|
1.6
|
Donut
|
2.0/2.1
|
Eclair
|
2.2
|
Froyo
|
2.3
|
Gingerbread
|
3.0
|
Honeycomb
|
4.0
|
Ice Cream Sandwich
|
4.1/4.2
|
Jelly Bean
|
Install
Android development environment on windows 7
For Android development we can use a Mac, windows
PC or Linux machine. Here, I'm using windows 7. Here are the steps to
installing Android development environment on windows 7.
1. Install Java SDK.
We can download Java SDK from the following link
2. Download and unzip
Eclipse.
We can download Eclipse from here
I choose 32-bit version of
Eclipse for Windows.
Once the Eclipse
IDE is downloaded, unzip its content into a folder, say D:\Project.
3. Download and unzip
Android SDK.
We can download Android SDK from here
Once the Android SDK is downloaded, unzip its
content into a folder, say D:\Project\SDK
4. Run “SDK Manager”
from Android SDK to download the platform versions.
Double click “SDK Manager” from SDK
folder.
We have to choose some packages to
install and check the Accept radio button.
When
we click “Install” button, the packages will be downloaded from internet and will
be installed.
Once we have downloaded the various platform tools, we need
to create an Android Virtual Device.
Double click
“AVD Manager” from SDK folder.
Click “New”
button to create a virtual device. We can create more than one device.
Fill the text box as follows and
finally click “Create AVD” button.
To start the virtual device we have to select one device and
click “Start” button.
Then the
virtual device will appear on the monitor. This will take some time.
5. Install Android Development Tools (ADT) plug-in for Eclipse and point
to the Android SDK.
To install the ADT, first launch
Eclipse by double clicking on the eclipse.exe file located in the eclipse
folder.
When eclipse is started we have to choose a workspace, this
is the folder where we store our projects. We can change this workspace later.
I choose D:\AndroidProject.
Once Eclipse
is up and running, do the following.
1. Help -----> Install New Software…
Install window will appear.
2. Click “Add” then type
Name: Android
Location: https://dl-ssl.google.com/android/eclipse/
Click “Ok”
3. Tic the check box “Developer Tools”
on the install window and click “Next”.
4. Installation details will appear on
the install window. Then click “Next”.
5. Tic the radio button to accept the
license agreements and click “Finish” to continue.
Now
Eclipse will download tolls from internet and install them. This will take some time.
6. Once ADT is installed, we will be
prompted to restart Eclipse.
Now we have to point this ADT plug-in
to Android SDK. To do this,
Window ------> Preferences and select Android tab on
the left panel.
Then
click Browse and point the folder where the SDK was installed, that is where “SDK
Manager.exe” is located, and click “Apply”.
If the SDK
is found, the target details (platforms we chose to download previously) will
automatically be populated into the list.
Click “OK” to close window.
Now we are ready to build Apps for
Android.

No comments:
Post a Comment