Upload
others
View
6
Download
0
Embed Size (px)
Citation preview
www.ethicstech.in
Content
●Installing Android
●Hello World Program
www.ethicstech.in
Installing Android
www.ethicstech.in
Requirements
●Java JDK/JRE
●Android SDK
●Eclipse IDE
●ADT Plugin for Eclipse
www.ethicstech.in
Java
Before you download Android SDK make sure that you have installed Java jdk 5 or 6 on your machine.
If else open the terminal and typesudo apt-get install openjdk-6-jdk
www.ethicstech.in
Eclipse IDE
●Eclipse is the most popular open source IDE for Java
developers.
●Eclipse can also be used to develop in other languages.
●An ADT plug-in must be added to customize the eclipse IDE
for android development.
●Eclipse can be downloaded from
http://www.eclipse.org/downloads/
●Eclipse Classic version is recommended.
www.ethicstech.in
ADT PLUG-IN FOR ECLIPSE
●Android Development Tools (ADT) is a plug-in for Eclipse
IDE which helps us to build Android application using
Eclipse.
●ADT extends the capabilities of Eclipse to let you quickly set
up new Android projects, debug your applications using the
Android SDK tools.
●ADT Plugin can be directly added from eclipse. ●Extract the downloaded Eclipse folder to your preferred location
and double click on the eclipse binary with in the extracted folder.
www.ethicstech.in
Installing ADT●STEP 1:
Goto help->Install New Software
www.ethicstech.in
Installing ADT●STEP 2: Add website to download ADT
https://dl-ssl.google.com/android/eclipse/
www.ethicstech.in
Installing ADT●STEP 3: Click okay and then next in the subsequent windows.
www.ethicstech.in
ANDROID SDK
A software development kit that enables developers to create
applications for the Android platform.
SDK include:
● Device emulator
● Debugger
● Samples
● Tools
www.ethicstech.in
ANDROID SDK
Download the Android SDK from Android’s developer
Website :
http://developer.android.com/sdk/index.html
Extract the downloaded tar file and save it in your preferred
location.
www.ethicstech.in
Installing SDK●Step 4: Open Eclipse and then goto windows->preferences
www.ethicstech.in
Installing SDK●Select Android, then Browse and locate the extracted SDK file and click OK.
www.ethicstech.in
Android SDK Manager
●New API's can be downloaded from Android SDK
Manager
●Click on the SDK manager icon(highlighted in Red
color in the image below) to get the SDK Manager
Window.
●Select some API's and hit install button.
www.ethicstech.in
SDK Manager
www.ethicstech.in
Emulator
●New Emulator can be created using Android AVD
Manager.
●Click on the AVD manager icon(highlighted in Red
color in the image below) to get the AVD window.
●Click on the new button.
●Name the emulator with your convenient name,
select the desired target from the drop down and
mention the SD Card size(minimum 10Mib) and hit
Create AVD button.
www.ethicstech.in
Emulator
www.ethicstech.in
Emulator
www.ethicstech.in
Emulator●Click on start button to lunch the emulator.
www.ethicstech.in
Emulator
www.ethicstech.in
Hello World Program
www.ethicstech.in
Hello World●To create new android project open eclipse and then
www.ethicstech.in
Hello World●Fill in the project name and select the API of your choice.
www.ethicstech.in
Hello World
www.ethicstech.in
Hello World
www.ethicstech.in
Hello World
www.ethicstech.in
Installation Successful
www.ethicstech.in
THANK YOU