SlideShare a Scribd company logo
ANDROID
TUTORIAL
W
AQAS
AHM
ED
waqasahmed@aptechnn.com
TOOLS
1. Phone
2. Eclipse ( http://www.eclipse.org/downloads/ )
Android Plugin (ADT)
1. Android SDK (
http://developer.android.com/sdk/index.html )
2. JDK
ANDROID SDK
Once installed open the SDK Manager
Install the desired packages
Create an Android Virtual Device (AVD)
SDK MANAGER
AVD
ADT PLUGIN (1)
In Eclipse, go to Help -> Install New Software
Click ‘Add’ in top right
Enter:
 Name: ADT Plugin
 Location: https://dl-ssl.google.com/android/eclipse/
Click OK, then select ‘Developer Tools’, click
Next
Click Next and then Finish
Afterwards, restart Eclipse
Specify SDK location (next 3 slides)
 Must do this every time start a new project in a new location (at
least in Windows)
ADT PLUGIN (2)
ADT PLUGIN (3)
ADT PLUGIN (4)
CREATING A PROJECT (1)
CREATING A PROJECT (2)
Need
the
items
circled
Then
click
Finish
PROJECT COMPONENTS
src – your source code
gen – auto-generated code
Included libraries
Resources
 Drawables (like .png images)
 Layouts
Manifest file
LAYOUTS (1)
Eclipse has a great UI creator
 Generates the XML for you
Composed of View objects
Can be specified for portrait and landscape mode
 Use same file name, so can make completely different UIs for the orientations
without modifying any code
LAYOUTS (2)
ACTIVITIES (1)
The basis of android applications
A single Activity defines a single viewable screen
 the actions, not the layout
Can have multiple per application
Each is a separate entity
They have a structured life cycle
 Different events in their life happen either via the user touching buttons or
programmatically

More Related Content

PPTX
Android OS & SDK - Getting Started
Hemant Chhapoliya
 
PPT
How to install android sdk
TOPS Technologies
 
PPTX
AndEngine
TheBeege
 
PPTX
Android the first app - hello world - copy
Deepa Rani
 
PPT
2012 Eclipse Android SDK
Volkan Ulutaş
 
PPT
Android SDK and PhoneGap
Doncho Minkov
 
PDF
Android Development Tools and Installation
Prof. Erwin Globio
 
PPTX
Android app upload
Savitribai Phule Pune University
 
Android OS & SDK - Getting Started
Hemant Chhapoliya
 
How to install android sdk
TOPS Technologies
 
AndEngine
TheBeege
 
Android the first app - hello world - copy
Deepa Rani
 
2012 Eclipse Android SDK
Volkan Ulutaş
 
Android SDK and PhoneGap
Doncho Minkov
 
Android Development Tools and Installation
Prof. Erwin Globio
 

What's hot (20)

PPTX
Android course (lecture2)
Amira Elsayed Ismail
 
PDF
Android Wear Code Lab
Gerard
 
PPTX
Methods to set up android app development environment
astoria0128
 
PPTX
Android App development I
Thenraja Vettivelraj
 
PPT
Android Eclipse Entegrasyonu
Volkan Ulutaş
 
PPTX
AIR2.5 Hands On - Flash on the Beach 2010
Mark Doherty
 
PPTX
Android App development III
Thenraja Vettivelraj
 
ODP
techSocAndroid1
Vladyslav Kolesnyk
 
PPTX
Android chapter02-setup1-sdk
Tran Le Hoan
 
PPT
Editing an app cloud 9
Charles Ferentchak
 
PDF
Useful android developer tools to get associated with
iMOBDEV Technologies Pvt. Ltd.
 
PPTX
Android studio installation
PoojaBele1
 
PPTX
Create first-web application-googleappengine
marwa Ayad Mohamed
 
PDF
Android tutorial
master760
 
PDF
Steps to install android
Prajyot Mainkar
 
PPTX
Android development session 5 - Debug android studio
Farabi Technology Middle East
 
PPTX
02.1 - Getting Started with Android
Oum Saokosal
 
PDF
Android Essential Tools
Jussi Pohjolainen
 
PPTX
Creating the first app with android studio
Parinita03
 
PPTX
Get even more out of your beta app distribution pipeline
Microsoft Tech Community
 
Android course (lecture2)
Amira Elsayed Ismail
 
Android Wear Code Lab
Gerard
 
Methods to set up android app development environment
astoria0128
 
Android App development I
Thenraja Vettivelraj
 
Android Eclipse Entegrasyonu
Volkan Ulutaş
 
AIR2.5 Hands On - Flash on the Beach 2010
Mark Doherty
 
Android App development III
Thenraja Vettivelraj
 
techSocAndroid1
Vladyslav Kolesnyk
 
Android chapter02-setup1-sdk
Tran Le Hoan
 
Editing an app cloud 9
Charles Ferentchak
 
Useful android developer tools to get associated with
iMOBDEV Technologies Pvt. Ltd.
 
Android studio installation
PoojaBele1
 
Create first-web application-googleappengine
marwa Ayad Mohamed
 
Android tutorial
master760
 
Steps to install android
Prajyot Mainkar
 
Android development session 5 - Debug android studio
Farabi Technology Middle East
 
02.1 - Getting Started with Android
Oum Saokosal
 
Android Essential Tools
Jussi Pohjolainen
 
Creating the first app with android studio
Parinita03
 
Get even more out of your beta app distribution pipeline
Microsoft Tech Community
 
Ad

Viewers also liked (20)

PDF
Brochure CAAGCRM suriname
Paul Ian Oscar Rivière
 
PDF
Multidimensional model programming
Steve Xu
 
PPTX
Alasql.js - SQL сервер на JavaScript
Andrey Gershun
 
PPT
Module05
Sridhar P
 
PDF
Transact sql data definition language - ddl- reference
Steve Xu
 
PPT
Module08
Sridhar P
 
PDF
5 tsssisu sql_server_2012
Steve Xu
 
PPTX
AlaSQL библиотека для обработки JavaScript данных (презентация для ForntEnd 2...
Andrey Gershun
 
PDF
High Performance Front-End Development
drywallbmb
 
PPTX
Alasql - база данных SQL на JavaScript (MoscowJS)
Andrey Gershun
 
PDF
X query language reference
Steve Xu
 
PPTX
Sql server ___________session3-normailzation
Ehtisham Ali
 
PDF
Spatialware_2_Sql08
Mike Osbourn
 
PPT
SQL Server 2008 for Developers
llangit
 
PDF
Multi-thematic spatial databases
Conor Mc Elhinney
 
PPT
Module07
Sridhar P
 
PPTX
SQL Server 2008 Spatial Data - Getting Started
Integrated Network Strategies
 
PPT
Module03
Sridhar P
 
PPT
Module01
Sridhar P
 
PPT
Module04
Sridhar P
 
Brochure CAAGCRM suriname
Paul Ian Oscar Rivière
 
Multidimensional model programming
Steve Xu
 
Alasql.js - SQL сервер на JavaScript
Andrey Gershun
 
Module05
Sridhar P
 
Transact sql data definition language - ddl- reference
Steve Xu
 
Module08
Sridhar P
 
5 tsssisu sql_server_2012
Steve Xu
 
AlaSQL библиотека для обработки JavaScript данных (презентация для ForntEnd 2...
Andrey Gershun
 
High Performance Front-End Development
drywallbmb
 
Alasql - база данных SQL на JavaScript (MoscowJS)
Andrey Gershun
 
X query language reference
Steve Xu
 
Sql server ___________session3-normailzation
Ehtisham Ali
 
Spatialware_2_Sql08
Mike Osbourn
 
SQL Server 2008 for Developers
llangit
 
Multi-thematic spatial databases
Conor Mc Elhinney
 
Module07
Sridhar P
 
SQL Server 2008 Spatial Data - Getting Started
Integrated Network Strategies
 
Module03
Sridhar P
 
Module01
Sridhar P
 
Module04
Sridhar P
 
Ad

Similar to Android tutorial (20)

PDF
Android installation
Durai S
 
PPTX
Eclipse & android setup
China Bigs
 
DOCX
Getting Enter in Android development
Ghufran Hashmi
 
PDF
Langkah-langkah Instalasi software untuk develop aplikasi android
Agus Haryanto
 
DOCX
Android Programing Course Material Labs
Shady Selim
 
PPT
Ayw android env_setup
pbeerak
 
PPT
Day: 2 Environment Setup for Android Application Development
Ahsanul Karim
 
PPTX
03 Beginning Android Application Development
Arief Gunawan
 
PPTX
Android
BVP GTUG
 
PPTX
React native on windows
Abdul Karim
 
PPTX
Android styles and themes
Deepa Rani
 
PDF
Android development module
Keviindran Ramachandran
 
PDF
Android tutorial1
Милош Божовић
 
PPTX
Session 2 prepare android development environment
Adham Enaya
 
PDF
Bird.pdf
RebaMaheen
 
PPTX
Android Workshop: Day 1 Part 3
Ahsanul Karim
 
PPTX
androidstudio.pptx
SundaresanB5
 
DOCX
Android wear notes
Aravindharamanan S
 
DOCX
Android wear notes
Aravindharamanan S
 
PDF
Android tutorial ppt
Rehna Renu
 
Android installation
Durai S
 
Eclipse & android setup
China Bigs
 
Getting Enter in Android development
Ghufran Hashmi
 
Langkah-langkah Instalasi software untuk develop aplikasi android
Agus Haryanto
 
Android Programing Course Material Labs
Shady Selim
 
Ayw android env_setup
pbeerak
 
Day: 2 Environment Setup for Android Application Development
Ahsanul Karim
 
03 Beginning Android Application Development
Arief Gunawan
 
Android
BVP GTUG
 
React native on windows
Abdul Karim
 
Android styles and themes
Deepa Rani
 
Android development module
Keviindran Ramachandran
 
Android tutorial1
Милош Божовић
 
Session 2 prepare android development environment
Adham Enaya
 
Bird.pdf
RebaMaheen
 
Android Workshop: Day 1 Part 3
Ahsanul Karim
 
androidstudio.pptx
SundaresanB5
 
Android wear notes
Aravindharamanan S
 
Android wear notes
Aravindharamanan S
 
Android tutorial ppt
Rehna Renu
 

More from Ehtisham Ali (16)

PPTX
Sql server ___________session_20(ddl triggers)
Ehtisham Ali
 
PPTX
Sql server ___________session2-data_modeling
Ehtisham Ali
 
PPTX
Sql server ___________session_19(triggers)
Ehtisham Ali
 
PPTX
Sql server ___________session_18(stored procedures)
Ehtisham Ali
 
PPTX
Sql server ___________session_17(indexes)
Ehtisham Ali
 
PPTX
Sql server ___________session_16(views)
Ehtisham Ali
 
PPTX
Sql server ___________session_15(data integrity)
Ehtisham Ali
 
PPTX
Sql server ___________session_11-12(joins)
Ehtisham Ali
 
PPTX
Sql server ___________session_10(group by clause)
Ehtisham Ali
 
PPT
Sql server ___________session_1-intro
Ehtisham Ali
 
PPT
Sql server ___________session 3(sql 2008)
Ehtisham Ali
 
PPT
Sql server ___________session 2(sql 2008)
Ehtisham Ali
 
PPT
Sql server ___________session 1(sql 2008)
Ehtisham Ali
 
PPTX
Sql server ___________data type of sql server
Ehtisham Ali
 
PPTX
Sql server ___________data control language
Ehtisham Ali
 
PPTX
Sql server ___________ (advance sql)
Ehtisham Ali
 
Sql server ___________session_20(ddl triggers)
Ehtisham Ali
 
Sql server ___________session2-data_modeling
Ehtisham Ali
 
Sql server ___________session_19(triggers)
Ehtisham Ali
 
Sql server ___________session_18(stored procedures)
Ehtisham Ali
 
Sql server ___________session_17(indexes)
Ehtisham Ali
 
Sql server ___________session_16(views)
Ehtisham Ali
 
Sql server ___________session_15(data integrity)
Ehtisham Ali
 
Sql server ___________session_11-12(joins)
Ehtisham Ali
 
Sql server ___________session_10(group by clause)
Ehtisham Ali
 
Sql server ___________session_1-intro
Ehtisham Ali
 
Sql server ___________session 3(sql 2008)
Ehtisham Ali
 
Sql server ___________session 2(sql 2008)
Ehtisham Ali
 
Sql server ___________session 1(sql 2008)
Ehtisham Ali
 
Sql server ___________data type of sql server
Ehtisham Ali
 
Sql server ___________data control language
Ehtisham Ali
 
Sql server ___________ (advance sql)
Ehtisham Ali
 

Recently uploaded (20)

PPTX
How to Close Subscription in Odoo 18 - Odoo Slides
Celine George
 
PPTX
An introduction to Prepositions for beginners.pptx
drsiddhantnagine
 
PPTX
Care of patients with elImination deviation.pptx
AneetaSharma15
 
PPTX
family health care settings home visit - unit 6 - chn 1 - gnm 1st year.pptx
Priyanshu Anand
 
PDF
Review of Related Literature & Studies.pdf
Thelma Villaflores
 
DOCX
Modul Ajar Deep Learning Bahasa Inggris Kelas 11 Terbaru 2025
wahyurestu63
 
PPTX
How to Track Skills & Contracts Using Odoo 18 Employee
Celine George
 
PDF
Biological Classification Class 11th NCERT CBSE NEET.pdf
NehaRohtagi1
 
DOCX
pgdei-UNIT -V Neurological Disorders & developmental disabilities
JELLA VISHNU DURGA PRASAD
 
PDF
Virat Kohli- the Pride of Indian cricket
kushpar147
 
PPTX
Gupta Art & Architecture Temple and Sculptures.pptx
Virag Sontakke
 
PPTX
Information Texts_Infographic on Forgetting Curve.pptx
Tata Sevilla
 
PPTX
Continental Accounting in Odoo 18 - Odoo Slides
Celine George
 
PPTX
Basics and rules of probability with real-life uses
ravatkaran694
 
PPTX
Applications of matrices In Real Life_20250724_091307_0000.pptx
gehlotkrish03
 
PDF
The Minister of Tourism, Culture and Creative Arts, Abla Dzifa Gomashie has e...
nservice241
 
PPTX
CDH. pptx
AneetaSharma15
 
PPTX
BASICS IN COMPUTER APPLICATIONS - UNIT I
suganthim28
 
PPTX
Artificial-Intelligence-in-Drug-Discovery by R D Jawarkar.pptx
Rahul Jawarkar
 
PPTX
Cleaning Validation Ppt Pharmaceutical validation
Ms. Ashatai Patil
 
How to Close Subscription in Odoo 18 - Odoo Slides
Celine George
 
An introduction to Prepositions for beginners.pptx
drsiddhantnagine
 
Care of patients with elImination deviation.pptx
AneetaSharma15
 
family health care settings home visit - unit 6 - chn 1 - gnm 1st year.pptx
Priyanshu Anand
 
Review of Related Literature & Studies.pdf
Thelma Villaflores
 
Modul Ajar Deep Learning Bahasa Inggris Kelas 11 Terbaru 2025
wahyurestu63
 
How to Track Skills & Contracts Using Odoo 18 Employee
Celine George
 
Biological Classification Class 11th NCERT CBSE NEET.pdf
NehaRohtagi1
 
pgdei-UNIT -V Neurological Disorders & developmental disabilities
JELLA VISHNU DURGA PRASAD
 
Virat Kohli- the Pride of Indian cricket
kushpar147
 
Gupta Art & Architecture Temple and Sculptures.pptx
Virag Sontakke
 
Information Texts_Infographic on Forgetting Curve.pptx
Tata Sevilla
 
Continental Accounting in Odoo 18 - Odoo Slides
Celine George
 
Basics and rules of probability with real-life uses
ravatkaran694
 
Applications of matrices In Real Life_20250724_091307_0000.pptx
gehlotkrish03
 
The Minister of Tourism, Culture and Creative Arts, Abla Dzifa Gomashie has e...
nservice241
 
CDH. pptx
AneetaSharma15
 
BASICS IN COMPUTER APPLICATIONS - UNIT I
suganthim28
 
Artificial-Intelligence-in-Drug-Discovery by R D Jawarkar.pptx
Rahul Jawarkar
 
Cleaning Validation Ppt Pharmaceutical validation
Ms. Ashatai Patil
 

Android tutorial

  • 2. TOOLS 1. Phone 2. Eclipse ( http://www.eclipse.org/downloads/ ) Android Plugin (ADT) 1. Android SDK ( http://developer.android.com/sdk/index.html ) 2. JDK
  • 3. ANDROID SDK Once installed open the SDK Manager Install the desired packages Create an Android Virtual Device (AVD)
  • 5. AVD
  • 6. ADT PLUGIN (1) In Eclipse, go to Help -> Install New Software Click ‘Add’ in top right Enter:  Name: ADT Plugin  Location: https://dl-ssl.google.com/android/eclipse/ Click OK, then select ‘Developer Tools’, click Next Click Next and then Finish Afterwards, restart Eclipse Specify SDK location (next 3 slides)  Must do this every time start a new project in a new location (at least in Windows)
  • 11. CREATING A PROJECT (2) Need the items circled Then click Finish
  • 12. PROJECT COMPONENTS src – your source code gen – auto-generated code Included libraries Resources  Drawables (like .png images)  Layouts Manifest file
  • 13. LAYOUTS (1) Eclipse has a great UI creator  Generates the XML for you Composed of View objects Can be specified for portrait and landscape mode  Use same file name, so can make completely different UIs for the orientations without modifying any code
  • 15. ACTIVITIES (1) The basis of android applications A single Activity defines a single viewable screen  the actions, not the layout Can have multiple per application Each is a separate entity They have a structured life cycle  Different events in their life happen either via the user touching buttons or programmatically