Android Assignment 2
Android Assignment 2
Poge Noz
Date:
ssignmerrt-2 MT W TFSs
Steps
1. Connet Andnid phone Luith the fCOn yOU_
Uhning pojeLt.
2Jhatall the USBdaver for your deviee
3. Connect deuide to conputer Ušin OS6 CAble
Rn the Conñguralionu inide Înstallation
5. Select the Andnid pnjiect to vn &open
theTargek ta
6. Cuck an Arelg buton Run r
app into anclniel
hon auhmeitaly înstal
phone Lmake iEUun aver fto
Qulck Work
Pago No:
Date:
MT W TFSS
aMets
e
Andanid Mantet xni L
uaste daiun 5 Andanicl App.Conponena.
-Actiuiies
Totenk &Broadtast Receivers
SeaviceA
-Conternt Provides
Widgets NoihcatibhA
MTWTFSS
hovigates
sC onlreote()
| On3tartC) lonRestatal
Achvity on For eRround
OnReAume(k fUsek
retua tp
atuy
ProLess Achvity
Runnin
Ac ivityeaves
Tereound
on PauleL)
Achvity hot visible
onstop) User AAvigateAH
a 2 2to ackvi
1 onCreate i: app
lhe achvity ky
boan
sutem
swhan yov Start tte
whun_achvity statu o
ti taled
geun mRmoy
3onKeumeC:
phase, usax Can idte ro.ce
uith the
dnthi for e0nd,
activityE is in the
onaueC):
nothar acbuity come in mt,itpaue
butitk sill alive
5.onStop
achity isn't victhle to vsey în duis
he
phase kuk ta alive in backgound
6.onRektaatC):
Jnthis phae, i the vaex halizatu hatk to
atuitytretaxt iom beimg s epped.
TonAeataoy):
E callkd udhea the u2er cleAe th app
ox nishes the aciuiy destaped.
67 What is intent Explain its tupes oith exampl
An tntent i ke a mesage that apps s_TO
ruaskion achon fhorm nuther conponen
Such aaStaring enatity or sehice
Qulck Work
Poge Ho4
Dote:
MT W TFSS
MT W TFSs
.Contant Pxnvidecs
aanege a shated Aet oapp elata tha
Can be acteued by otherr apps,
dpoviole C stondard intertace to
iotero.t ultth appolta, enabling dala
shaing be tween olitereat corupohe nts.
5. Wtolgebo y Noiiaton:
Think awidget aa min-app an
LoUr nome ereentgho0uWs yOO intórmation
ck a glance uithaut opening all- appb.
FDrxo weather uiclgek might disp lay
eurren tanperaturg_uuItAayt gpsiug dpp
Qulck
Work
Pogo No
Doter
MT WTFSS
Notificationgore lfke meuogesa phene
sendd o yavr dttortion
get
y pop up on yayr 3Cren, Dlek ydu kro
ahovt Samethinglikesa meMage maiL
ex an app update
e eon fap on ansi caion o open the