android installation guide

24
Setting up Environment for Android Development Android

Upload: mohamedmubarakali

Post on 09-Jan-2017

242 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Android installation guide

Setting up Environment for Android Development

Android

Page 2: Android installation guide

Requirements

Java SDK > 1.6

◦ Ref : http://www.oracle.com/technetwork/java/javase/downloads/index.html

Android SDK

◦Ref : http://developer.android.com

Eclipse with ADT plug-in

◦ Ref : http://www.eclipse.org/downloads

Page 3: Android installation guide

Java SDK

Download the recent version of Java SE

Page 4: Android installation guide

Eclipse IDE

Download Eclipse for Java Developers

Page 5: Android installation guide

Android SDK

Download Android SDK for Windows

Page 6: Android installation guide

Its time to setup the EnvironmentThree Simple Steps: Install the Java SDK in your machine

Install the Eclipse IDE in your machine

Configure your Eclipse IDE for Android Development and integrate you Android

SDK to it

And That’s It!!! You are ready to go.

Page 7: Android installation guide

Configuring IDE for Android Development

Launch Eclipse and Click on Help Install New Software

Page 8: Android installation guide

Configuring IDE for Android Development

In the new Dialog Box that appears, Click on Add Button

Page 9: Android installation guide

Configuring IDE for Android Development

In the Location Textbox : https://dlssl.google.com/android/eclipse/

Page 10: Android installation guide

Configuring IDE for Android Development

Select all the Developer tools available and then follow the installation process

Page 11: Android installation guide

Configuring IDE for Android Development

Installation in progress

Page 12: Android installation guide

Integrating Android SDK with Eclipse

Click on Window Preferences

Page 13: Android installation guide

Integrating Android SDK with Eclipse

Set the Android SDK location and Click OK

Page 14: Android installation guide

Android SDK• Class Library• Developer Tools

dx – Dalvik Cross-Assembleraapt – Android Asset Packaging Tooladb – Android Debug Bridgeddms – Dalvik Debug Monitor Service

• Emulator and System Images • Documentation and Sample Code

Page 15: Android installation guide

Now its time to get deeper into the Android Architecture

Page 16: Android installation guide

Moving AheadNow lets move into the project structure of

an Android Application

Shall We?

Page 17: Android installation guide

Project Structure

Project NameVersion over which the app is built upon

Metadata File

Page 18: Android installation guide

Source Folder Structure

Source Folder

Source Code Java Files

Package Name

Page 19: Android installation guide

Gen Folder Structure

Gen Folder Java Resource (R) file

> This is where code is generated for all the resources defined in your res folder.

> This is how you can access layouts and controls defined within your code.

Page 20: Android installation guide

Bin Folder Structure

Generated by Compiler Contains all the .class

files to produce .apk file

Page 21: Android installation guide

Exploring Resource Folder

ImagesUI Layouts

(Portrait and Landscape)

Constants

Page 22: Android installation guide

Android Makes Mobile Java Easier

Well, sort of…

Page 23: Android installation guide

QUERIES???

Page 24: Android installation guide

THANK YOU.