UNIT 2:
INSTALLATION AND
CONFIGURATION OF
ANDROIDof Android
Operating System i-
To develop andrvid prog yam necessary Supported
OS sh. f Z 3
Operating SySter
Windows + XP (32bit) Vista windows7 (32466 bit)
MAC » y Ctntet) Cx86 Only)
Linux oy Dbuntu Linuy 2264) or Later.
ROSO= cep ho
As andyoid progvams Gre developed in Tava
proqvamming language we have to inftal)
TDK in Computer which 16 free Software
where TDK intludel Tava. runtime.
Android SDK *-
___| The andvoid SDKC Software Development Kit)
Provides tools and packages to terkvanolyoid
Applications, APT libvavies, emulator, documentation,
Sarwple code, tutorials whith help yOu to builol,
Hest and debug ap po For Gndvoid. +1Android Development Tools
create new
Access the tool$
Qndyoid
applications
Por accessing ne
andvoid emulate
reate Digi
erkiticate for
Code SiGning oF
4) ADT 1S a-plug-in fox the eclipse EDE which
provides Suitable environment to develop
Qn andyrid Application where creation,
Comnpilation” and: debugging are possible -
it) ADT can able to export Sign sapk File(or
unsign file) in orderto dithibute application «
Andyoid Virtiol Device
)_AVD i$ an erqulator configuration that
enghles to model qn artudl device by.
calling hardurve and Software options
4p bt emulated by the android emulator.DATE PAGE
‘D) AND IS used. Fox testing android cop pies
Ti Enon Avani contit-peHarhowe. prafile
snes DeCine howd ware featwresne virtual device.
) Map ping to Systern ——
You can detine soiaaal aks oF masheendd
platform will wn of VM.
Aivisnd
3) Nou can Specify em eeyy YOU Wont
| pdeteadie uo is Ate ”
@) A dediteed Storage area on your
development machine -
% | Emulators i
\) The Andyvoid SOK Cee ite genial mobile
desice. emulator that vunt on your ‘Computer:
it) The telator enables £8 obra f best
Thins
Ww) The Andyoid eeeeesaientine st of the
+ e OF tus ¥ £
desice axel that it Can't wake 4 uct
pWone coll siDATE. 1 1 PAGE
i). Dt provides selection of navigation
” |
& contro) Keys Which you cam press
nasu sé. 0 maids bo! — ,
events For your anpli ation:
Dalvik Virtual Machine
1) The Pym js aw andeoid Virtucl machine.
Optinnized Fox mobile devices.
2. T+ optimizer Virtual marching Fox -_ power
rnanagment £ Lo) memory envivanments:
WD The Dalyik lo -q mame Of town nm Teeland.
The DVM was written by Dan Bomstein .
iv) The dex Compiler “converts .claco Files into
dex file that non DVM
NY) Mulyele clacs Ales aye converted into one
clex le.30M DATE I PAGE
vi) The avac tool compiles He faua Sourcefle Into
the clasp file. The dgx tools taker all the clacs files
of Your ope G gene rede a ~ lex File.
vil) Bt ied platen SpeciPic tools
o The ‘And vid Assets Packaging Too | (Aart) handles
the Packaging process.
% | Ditserence between TM ¢DVM
\) INM Supports multiple
Oss j
+) _pvM Supports only
aniltnid ot.
i) Te Comp! Jes Dal vik
By rerode:
W)Tt Complles Tava
Cc is
iit) Dt Forme sepe rode
agset in Seperate
Class bytecode File +
WT VM 1S based on
Stack haved iy tuo)
Machine avehitecty re
Y)_ TE yUnt on more.
memory.
Jt) The execukah) e
format of Tym i TAR
Wi) TE forras multiple
Clase in one .dex
bytecode File.
iv? DvmMis based on:
Regittes based eae
OPE runs on less
HOU,
Wt) The executoble -formect
of Dv™M 1) APKnail bbéfove p execuling
On DVM. -
¥_| Steps to install g conti gure Andvoid Studio
SDKY i . ‘ ,
spas Do sad Andro\d dio executable Py
Zip file »
_Sixp2 Alter aida has acicininade occa UA
click next.
Sepa TE wail Stark ‘indtollation ,click nex
Gkep 4.1 Click on Finish, Then Choose ‘dor’ jivap ork
aaiiiags Opsioe’ click OR.
Step 5 t- This will Start ‘sida Lucid
Meanwhile & will be Finding the available
SDK Component.
Skepe’ APley it hast found the SDK Components
2 will ye direct tothe sselcome —
box, Click wextStep ti: Choose standard g. Click on Hexti-Nois Choore
2 ecli xk button,
Step &i- Now, Download the SDK Comnponént cli ge
on Btites
ia gic Click on finish duiten $ lauash it.
Click on‘ Start new andwnid pa a
Start building app.