Download as pdf or txt
Download as pdf or txt
You are on page 1of 54

asscoute

UNIT:! Dashnath
Nandam
Date
Page

Andvsicl iw an sben dane andl linus basedl


spenatingsyam ter mebile cluuis such as smatsjene
* hlhyAnahtd
dOban SewHce Beautitul UI
i) Lange Duulspor lomnuniy. Strage
Connehiuity : brsledye, Wfi, LIE, NC,
Reduce cet sfuelepnent Mult toçh
Rich deelefmunt Enuinnment-Mult tsking Mult language
y

beegle annsunces the develpment st ardhsid os.


na0t,
"Heneycemb And1eid 3-0
Cupcake Andreid 1-5
1Donut nddl:6.
lenyant
"Lce Creamardich 4-0
Eclain cndreid a-0/2-1 *Jely Bean
" kikat44
Andheid 23

lauel i- Atpliatien Begamming Jntotau , lusl iu


* API he
an intgu ualue that unigul tdentilis
FramtuekAPI LUHSien blerol ya ersien sf tndsid
plaifem
Andsid IDEs ! Android Studo.
Eolibu TDE
Date.
Page.

)Ahp Comblexiy i)) Qesign Reguinement


Tip Qeielopment ie ( Qeualopment am
(phind paity tntepatin
Vi)aiténance and Updateu Jeam.

* key facloys that syect the Aty Deuclghmert sta :


ntutuchuL:
) PlattoxM: Mebile, web, dtandaltns.

MAD budget stent by femeus startujs : nder >fa85k


Uber -> $acok tnstagram ’ stOK
Srapchat’ s485 k.

Haiing a mebill strakegy n Hace meare


existinýatlicatin
hoe w no mobile ue can uae to duelss imblement
a tlan Howeue thee ane stebs ue can tare to identy
Ldauelef a masile strategy hat eata bynegy Adeuik
ubilidyand deuie - anesie
th
atjuach
lns to themanner in hich +Promotes Hhe
the lomjehbilty
re ngaglng with these du
beftwae'Qnd deuio
" ther things to Hake into lonideyatien :
2 "do it Scalabl ?
cassate
Data.
Paga

Chalenges faced ty Mobile byp Qeuelabers i


Szadstnent Apoach. Deuice lampekiblily hSean bye
fndirg "Poryomence ustome Reiew kErhnienee

i You keed to kneww eunything in brior


Deubting
iMebile deulebrent auen't cst much conning
i Building an as bring an nd to yen Mnt:
Jmanfjene
Vi Mobile dhb manket Bn ib awn hen t built

by thind pmties hat help salue cemnen sueblem in a


pngraiming language
Jhind- banty asbs douices ane chatid by Companles e
deuslebens that anen't gorgle
* Mobile abslicatien Fameuorks can be clasifd
into 3
Natie Abbs t natiue abp is an abpliatien that is
dignud todeiuen fn bantitular salom
he ay is built uith preqramming language and Ioel
that ane sefie to a ingle platormn
eq: jaua on kilin for andtotd ap amd det amd
bhjchue- for ios apps.
classmate
Date
Page

wleb Aas:Auub ba abb Loncun with he sysliatn


that is desioneo t doier uab bage en
dilerent eb blafom tor any deie'-
hey Qen't meble abplate ,bt webite writttn in
HTh/cs un by aa bouser.
3)5) Hybrid dbys lembinatien y both notiae wehsayliati.
tcan be duutepd fr any plalfom grem
dingle code baue
* Mebil hleb Preene : h mabile ueb eers to Whk
berwices accesed ran handheld bortasle deuie.

" Decide hethen the ahs ç for Abble, andosid or beth ?


"he ddealnithat pr Cblém You need to selue)
User Exbeience
Bivacy Raliy and Shalegis -
Scalabiliy
UI UX
Mauntathaklily
Feedback and Suport
Sesting
Mobilbk londscape i
Jhe mebilit landscabe in hndeiol elers to the
Awnall enuinenment anol factors that infne
hew mabile sps ane creatdy distibutid, and
yed on trdeid deuice
Date
Page

Key elemente af he mebilty landape in MAD


Plalfom Diverutyi ned to censidr mutisle plallem
Cres blatom Duapnent :
Mebile Fst Atfacack , To I, UI 4UX Design , Secniby

* Mobile AHliatien Quetfpnent Platom (MADP eess


to the Os anol aweciatd settuare hat pouur
mebile dleuicessuch as bmartbhnre and tablets .
Palrm, BlackBenny, ibkone , ndheid and cuindau maile .

duspel sbile OS and diyital plalfom deuljed


for smartphene
Qeuelsbec n 1998 by dyrmbàn lid,
he Os bs symbian contains tus Cempenent i micsokemel AuT.
Vexsien 60 to g.5.

Featnes iNesaging , Multnedia , Broasen , bewityyNEC


hlidoet homesceen, hlalbapens
Aduantege: dt can be built by anone
Adanig."Peuide een platom to enate independent techny
Allsud inpscsiue battny lfe
Disnduenteg: Depndent on Nokia
Beuide Alate espendl
"Net smesth
classmate
Date
Page

¥ WindoNS Andreio
DDeveloped by Microsoft by Grogle
i)aumched in J985 008
)uYent Stable Version ig klind 11: Andvotd 13
iv kesnel type is Hybid Pkenel t e is linu based.
Chaxges for original Vesiln
Vi) Mast sedn Pl.
free of Cast.
Met ed n O:s euerall

i0S Andreid
DDeueleped
D
by Aptle Irnorpratin, *> by Gr0ogle
nitally suliaud en uly 2i,208t- on 29 ept 2008
hybticl Linue based
io Specialy deugnad fo tple wdesigned for bmaxlerne
educts
VHas Sin heice dsistant Gub0gle ayistant

OHA : Oben Hardsct 4lliance


OHA isa constuctien sf 84 fims to deuelop
Loben standands for mebile duice .
*Established en 5Nev) led by Gogle cuith 34 members -
Mombers fim incldes HTC, Seny, bell Sntl, ele
Andreid tchi feche:
Cntoid 0s- iu aStack sf seftuaru cembenent
hich i toughly duidd into 5 ductiens 4 layes
ndeld Stack ytem Apbs ha ne sbecial tatiu
oudim a preuide key cabasiltis to deuelose
alassaste
Data
Page

AþbicaHon
Home Dialer SMS/Ns Browse JCamera Email Calender
Abhlcation ranwo
eindew managen
Manoge ontent þyouidey systen
facage mlarage TeLepherny Maragen XMPP Seicy
Android Runtime
CoTe ibraries
DVM
Free ybe Shl|SSL/ Tblueb coye
inux Kemel
Display Dies Carmena Dfen Blueoth DAves Use Driver
Reypad Drivea ii DrvesPoer managemet

*ondocd kRuntine i-hiw dection reudes a key componat


callidDaluik (DVIAch is a
ishual Machine
Kund ef JM spuially duipnud Ltplimijod for endesid

dtiu stack based TRegiten based


tandyeid os only

*Setting b MADenuicnent uitth emulator Jlepheny


here ahe foan tool that ycu uill heed
Java JDk Soy JDk 6 ( Aroheid SDk
IDE (y) Erdaeiad Aeuelgpment Iosl{I)
Step Set up IDK
SBej2: ontigure Anthsid sDk
Step3: Sts Eclibye TDE
Stp4: Set up ADT Pugin
Stf 5 Creafe AD
alssMAte
Date

bashrath.
Namdan
Page

A Abh Usor hesee Deslaning:


UI the
isualaid intvactine alement a cliglal
abplicatin, such as a mebile asj.
Uhe goal sf uI deaign ds to nhance UX

"Paxposehul Desgn: EnsLHes that UL desion alipn with Qb's puybe


ensistency: Naintain a Aeraitent duipn layeud hosghsut
uer ned and breferenes -
* Layput: XML layaut(ardotd): Deline the layeut sthuckne
uiing x in trcueicl dexelgbraent , shicifing the

*Adolayut (70s): Uae ato layut cerstant to define.


Ur elments sheulol adast to diferent sereen diyes
* Drawable Resscasi

in i0s stove images &icens llsedl n asp


Reucltion Jndependence : Create multsle ueaiern f image
to accenodate diterent sereen hieselution'
* UI eements in NAD:
UL elements in mAD are the uiualk otonatire
Cembenent thatsls ngagc uith bn scen
Basi UI Elementi Buton,tddText,
"Image N'euD, KadioButon, Nauipatien Ban,
"Tab Bar Pepup
Date
Page.

hese uI element ane the buitdling bleck that daualpe


deweloper
we to Deate engagirng l functienál intinjae in mob: dbs:

Layout tefers to the anamqement and organisation ot


UL elements n the the scneen.

xkey lonsidexation for eating am


Siem sye and Reselutien, Censistemey pogaphy,
Hieraxchy and ntoArcikture iBianitje Content based n
inpartance cuating a wisual hierarchy hat guitks yses.
Snkractive lemenk, Cotor Schen
Seheme

X idgets in mebile appicaton : Comjonent rr Conbsl hat


hdes typically efeors to UI the sceen
wei can inttact uith bn
nceid uidgets : Button , Texf Viewy kdit Meul, Radto Buten,LButton
a uI tin
*Layeut ieut: Alayout dyine he strkre fezelementsin
the asp dubh as in an actiity"gl

View:ttUsually daw demething the ae can see and


intenac wit.
Veu btroub tis an nuisible
Contain hat dfins the layeut
lieo iew shchue for ieu and othe) leo

’ Vew groys is the base clas ton layo PVaw Condeinen


Racyeter Wiew
lincar ayeud
alkssate
Date
Page,

*Common layeut ClaMS:


* Constaint ayeud :: Connect
(onnect iew with Conshants
inear Layeut: hongo ni al or Verhcal ro
Child ieo elotue to each then
Table layout' i:Yows
Yows and Coumns
Noke: We can decare a layeut in tuo wai
)Declae UT eliments n XML
DTrstantate layeut elemeiti at untine
Context: dt is an inkesface to glebal into abeut an Gyoliatin
Context Conternd = get Apeation Conterct0S
7ertt UieO myText= neo Tet ieo(Hhu);

ID : Any wiw Bbjcct may have an ttigr TD


anciatod itth it tt niguely identty he lliew
andreid: id="id/my butto"

layeut farameker: layeut semething defenes layput


banameher for the Vieus thet apbrobuiate tor the kiew
|GYeup in shich t Heides
Quey iausGveup clax implkment a nesked clas hat exfend
Miw seupolaysut Paameker
wras- onent, match parent

Vositen : get lett()’ for X-Coordi nate


gtTopl)> for Y- Cooroinate.
Süe, fgdding 2Nongin
JE Padding TopCl
Exbresed ith a uidth and
Data
Page

Layeut Ceaked in hva Achuty ake


<XML Version ="1-0
encodling-"u-g"!>lineanlayeut L= ne
Knez layeut Xmlns andxod'=! L'set onéntaion (Gneanlaycu-VERTICAL^
"tps:/Schemas. amdhro id -om Ja landtoa" Texti'euo txt = new TextViewtis) j
Qndhoid:layeut tidh-'mach ponend' tl
txt ase Tert ("dnx nandari)
andhenid : layeut heiglut =" maleh prend l-add Vieu (tx);
amdhio Drientation = "Netical" Set Contso View (L;
detting Ginearlayet layout Panami LP =
</inear loyerd) heigu
uldth Mateh-Ravent, layout Ram olorap Conte)
|mylieus-Sttayet Pram (LPD;
Event Homdling
tUsen tnterachon iestuye Reogniion

EVent tandling:
uentsaHe the achens benfoned by the ser inbuten
d e to nteract wih he kblicatien fpreg. persg
ae mnanaged by famework in FiFO DanneH:
he euent
Event Handlexs :
eAbensible for dealing uuith the cuent hat the
tis he desired
euent lstnen registeredl foi andbenfoming
actien fer that espectine uet
Event Regübation uthe oces in which an euent Handle
get atsciatd uith an Euent lene

lentoinsa single callbact


menad
Date
Page

Setting Clck Hamdle in Jawa.


Hal Butfon buton=(Bufton) find ieo By Id (R" ldobutton)
buton Seton Clck lishnetneo Viude On Cick listrener
Public ued on Cick(ieo V){
Shing msg="ashrath!";
l09st- toast = 7oQst "make Text (Hhi ,ms9, duration );

Kesourey: Seberate tatic clata from cacde in yeur layeut:


Usegul fer localigatin
SHonlent Vieus ( Re layout. acthuity-man ))
Measusement: Use Indebenaent Prels
Deua Tndebendent Pixes (dp) :>for Viws
Salei (S$) :’for text

Anactuity ia the binglesceen en android ti


like uindowr or frahe n jaua
By the hels sf actiuityy le can place al Gun UI
emponent r idget in a dingle dereen.
’Jaaclan, tybically one achuit in one fle.
’dctiuiti! oneloesely tied toethen to make us asp: Obfect
A
st actiuity usen Aees is tpically Callud ondext
main acHuity':

* detieity liecycle ihe set Conkert Wrabhe


taty
an abtutb can be nduning Conkeat ome lorabpe
oreated Unttl it adesbeycat.
Date
Page

Achuiy launched >Sate Changes are trgered by


onGreate),User. ackon ,Config Change, e
On Start04 on Restart
tlun nauigate
On Resume () Actiuiby instance Stake:
Stake intomatibn is
|oces
APP Achuity Running Created wthil the achiiy
Killeg Another actiiy Comes Vser ehun
On Pause
AcHuy hot isble

On Stop "Sauing ing famce Stake i


Tmpenent on Save Tng kance
State )"
lon Destroy

|Aciuaty Shut dlownf


tetiu'hesInent (Ardasiol ).
A ntraction-Among

Inenti dtis a descnistibn sf an Gpenation to be


bofomed or Communication bekween Achiukies
orginalor App (omponent
>4tis an GbËect wsedto Yeuest rtent Actitn
Andofd Systcm
am action trom anothet asb
Component uiathe tndroid Sysken:
hhat CamInent do Expltct ntnt
SHat actiities AsK Syskem to fenel
TStant Snuices
Stant afpecife n actty hai Can
-Delluer Broad cast Tactiiity hanolle the feg
classMste
Date
Page.

hue types ot ending data uith inent


Dat One biece a intormakion wthose Locaten esrewnted bya
xhas> Ohe or moe biece s into as a Collecten f KeyVala paiy

Achuity Shack: Jl efens to uay aciuites aa manged


in the Andvoid Ose0s" An actiuity represent abingl sercen
Luith a UI in an dndetdabblcatien fsleus LIFO.
Steyt Stt,, Nauga
ForegrounyacHuty
Actuiy) AChuiy 2) AcHiy9 nchuiy Actuty2)
Back Stact ACtuiky Acthi ty ) (ACtity
dsnoye
¥ Nauigaion: Nauipstien in taefd tnuslues manginy
the tchuky stack to enabte uer to mLe blw
diherent sereene (achiuiby) with an abplicatien

o Temboral or Prouided by the deie back betton:


Back Nauzation lntusLlecl by the CAndaeibock ytr
8tect.
Back slack preserves higtory cf Yecently
uieued Syens
& Anconstal or Prouided by the ap's qction
bar:
Contolled by cdefining Panent hild
Helationship Huo achuies
alassute
Date
Page

Athxeadsa backgrGund brocs hat can tun irdeperden


ty 6f the main UI theod " dh Jaua, the thread class amd
0-Houtines canbe used sed to cheate k manage thread
Thread hread = new Thxead new Rumnable 05
Oveticle

*4bes ot Ihxead in Android


t Main Thread:(Also knouon as the Ur hreadiu sessensible fot
handling al ur usdaks and User iateraction
Code iu Bxecutd line by line hlhen an ab is launhd,
'nain'
Hhe bystem ceates a thsead s enection for the a
buey asp en andeid has t eun hread wich
UI Thnead :
ebyject
dtis abackgrsund thread- he uoken hmead
3 hlorker Thhead: ethie than hreads like UuI hreacl
avecreatd deberatlyy
Ary Thread: he annotaled metadcan be Caled fom any thread
4

5. Bindey Threadsi represent a bebenate hread sf suuice


tnter-proces Comm
Jhe biner is a mechamisn to brsuide
Hull to Anohoid's threacl model
Nojeihene ane dimply tuohread
Do not block he I
Do no acces the androd UI toslkit from outsidle UI threed
Jeacd
Runabe Rumirng
-waitenpe
hread Ute chcle
Date
5MALe
Page

* Asynchonous Task
Asyn task is ahelbher clas that allows you to
bentom backgreund task and ubdate he UI fom he
dame thread Asyn task iú an absta ct cam in Anctoid
* Asynchenbs task ae diulded into hiee gensnic yhe
laramsi faramelers Aent to he dasklben eaectien
i Pr¡res: Pcqxes unt shand doingbactgcund ambutatin:
. Reautt : Rosult obtained fren the hactg nend anpeuatin:
Asyn taska Qre diuded into 4eps&
doIn &ackqroumd () :Jhe code that has to tse un in the.
backgroumd wContained in his -
2) on Bre Execute): he lode Hhat ens þries tothe beinning
3) on Post Erecuk):After chnBackgaund mehod finished
pecesing , hu methad reeine the output at chinbckgreund
4)onho¡ram Jbate() : his meod cam se he preces
wipdateu ik ueias fom buble cgres Dehcd.

ASeuices in Andsiad
Souicee in rdveid e aa shecial tonponent hat
acilatu an ato to Aun in the backprsund in Grde

) Foreground Senucea : Souics hat rotiky the usr abeut it


nteing peratien e rmeds as
souucel
alssmste
Date.
Page

B) Background Seruicu: heydo nst eguine wen inteocion Ihese


Seauices co nst noty he usn Qbeut ongsing backgud fask
Bound Senvces : Beund seice pesfom hn task as long
any applicaten CEmponent di beund to t

9 Stanted Seruics(UnBeunded Seuices ):


By tolleing this bath, l seuice ui uill initste hen a
absication combenent calls he startSirte () mehod
huo obtiens l e auailable to step the execukien Gfserie
"6y Calling StepSeuice () method.
he derice can stop tsel; by sing Stopsey 0 mehod.
t) Beunded Serice: t can be tened as a borlic in a
clint-sluer intntau- By telleuting thiu þath y andusid
atp cempenint can áemd higuet to beuice t fekk heult.
seruCherte by calling
Senuice Siakd by calling
Starteeice C) binc semulce

en Creaate ) lon Create

on Stetbmmand) On Gind O/
Ackhe lietne ae bounded to the
Gt Semice cient
Soruie is Aunmin Serice

The senue s Seppd by Jnbing sericel)l |on Rebind


kef or by a clint on unbindO
On Deshroy / Dn Destroy

Seutce Shutaloun Seruice Shuteown


Unbaunded senuica Bounolecd leriice le
clssMate
Date
Page

can send o4 eleiiue broad ast


Broadcast:Andhoid ajps
mesage trem the ndoid dytm &the ass Ainilan
to biblish -Ausenihe dksign platorm hhen abroadaut
is dent , the system automaticaly ueutu beadaut t
ass that haue dubsenibed to soeine that broadcost.
hdheid þeulde three iays for app to Send bicadcast:
Send Ovdered Broadcastnlent, Sting)’one reciuwn at atine
Send Broad (astltntent) ’ al yeciuen in tncefined order
DLocalBroadcast Mangs Send Bspadeast

t SMS (Short MeBage Soreice ):


dt is basically dAtandardigca
comwnicahen
bostecel Hhatis sed fo he enchange tf knt
mesage betuen MAbile deuices
he max length of text mes0ge it 166 aspha. numeie
*Advantages:Veny seliasle ktested blatom
"More diaerce tom of
sending nto
No teg for inernet tennecion:
Deen't equiae amy atp to doenlsad.

Chan tet
Pay tox serelin txt as Sms
elcsmste

UNIT:2 bashrath.
Nanda.
Date
Page

tNaive Data Handling


Naiue data handlng could tefeu to the basic e
staightonwaHd apucaches cevelapous use to manage anol
bustess adata within thein asplications
* Some key Cenaidenatien fo handling data in MAD
CochngiJnmplement caching staategea to te frequenty wad data
Dado Storage "Netoorkng and ApIs "Backqround Task
Usex fnput Hanclling olocat Dalabase eEryor Hamdting
Secuniby Testing
Natve Aþbs Haue the Best esfornamce
i1) Moe secHe
it)Natiue Bbbsane Mose trtenactiue and Sntuitiue
iv)Uos Deuelefers to bcces Ful Feature Set et Deice:
Jends to haue Fuun Bugs dwing aeveleýment

Data amd Frle Shoage


Btonge
Andrsid Lses a file dystim that's dimilar todisk-basol
ile dystem Dn other plaljorms
Shaned Prutenenes Pruiate fuimutie dala in key value fais
Srtewnal Storage :- Bivnte cata en deuiee memby?
Exkernal Storage i- Pablic data on deuice or exkanal sforage
SQLite Dalabase i- Structyed data in a private catakase
Lemiont Poutdesi- Stohe beiatsly and make aailalle
Others publiely
Netuork Connecion: You Cam use Wlw to store and ctive dat
loud Backub
lsssate
Date
Page

* Internal SBorage Exlexnal Storage


Aways awaiable Not alwysavallable.
Uses device's filesystim
ercternal stoage "ke sD card
BOnly yout hþ Can aUs lest Any asp can read
0n uninstals dystem xemoes ton inlnsbl, system dos oat
As buiwati dinectoiesSet bemiien in Bncroid
"Peamanend storage ir ecory manifest.
-getFles Dir).

* Shaned PHefenonta: Jlis the uay in which ene can


stoe and Hetiue smalu amount s þimitiue aata
as Keylvalue bains to a file on the duuie Atorage such as
Shing, ind, foat hat make up you pifvena nXM fil
A SQite Database
Relatonal database is a mehod of shchving data as
toblesseiatid to ench othen by shared attibuty
Struckuned gueuy Languagc (SqL) u a language for
deanchinpQnol updaling adatabase
SONt s an
GpensAULeHelationel
to bortom AabAe
dahtae ie ued
Oboratien en amdroid deuice
* Uséng SQlite databage:
Verzatle and Bhraigtfonoard to îmblement.
Shructuread data
*Acces, seanch amd hamge doBa feequenty
*Data can be Yeþasemtea s rows Qnd
(olumnsls
classaute
Date
Page

AcapteH ARecylen View


X onbonent Gt SoLite cdatabase View Holde Wo rd I

SQLie Open Helphe


S8t Database bhject al intyachen
|SsIte SgLie Open Helph en
|uith daabase threugh Spite jen Hephe Sglite Dafabase| Data
" bxecuke youy Yeguests
+manage yowr dalakase
tSeheoakeclata kep Complex afs managable
* OHS: Jhe basic husbese of cwser udo soint to a
Aingle so he Hisult tethed by the query
CAaHons get CeuntC) numbe of xows in cwss
get Celumn Nams() i getesiten )
* Content Values i- Reþhesenta Grne table tew, soesdata as
key- value pains key-CotumnName Value-Feld name.

x dmtlomening. S9lite
"Geate data model
Subclas SQlite Open Helbhex
tan MainAckiuty Creake instance of Sglie Chen Halshet
al meHhods 'af sQika Oben Helsher to u0k uith daabese:
* Database OpoHati:
Insent) guy) method
Tnsent into<table>(list-of Colm")Qerey san take and hetn
Values (< Lit of values )) ; any olatetyhe that UI ned
Ubdak C) 'mnp lement guenyl) metad in
Update flw set tle ="Ple' open hehon clas
Uhere id =5; doleke O
cassmate
Data
Page,

Focus on ITntenactiue and boal- dien desn


ResbonAe to er
Colsn selectien

ACanas is he dimpest , siist way to duaw


Sbjectu on he sereem.
’A dawable is a cembiled usual escunee hat can

nimation s the puecen acdding a mcten


fect
o any uiuy image oe teat Animahion in bndusid i
UT Hich losk and feel

i) Bosocky Animaton: Kobeuy animaten is Dne sf


the Aebut
amet lueyhing fameuors which
dt can be uedAlleus animatin
to Qdd any
nimatin in Checkbor, kadeBuctens and uidges
i V dnimatenit Can be wsecl to
add aninatin to
sheaie Mius to bouforn tueened aninól

i) Drawable Aninatienilis ad igou ant do aninatt


alAssmate
Data
Page

*Methoda 9f Animaton : animaton


Statrimatfon(): Stavt the
cleayonimaten 0: clear he aninaton unning
on a Veet

t Audic/ uideo Recoadesoked uido , thene ça buill -


n mausld for tecoHding adio on
called Media RecoHden his claw hes to
in class
casily HecoHd udeo and audis fle
Mehods8elAudloSeunee) , SetAudioncoden() ,
C)
Bop) _Stautl0 , Helease
idees in andued, here is a clascalld
For viusing Yaw telder
MediaPayor" o indent uidees , ue put
Playes:
* Stb to build a lideo ejust need one component ie: vdeoVie
1:dn creating Fonlemd, uil ony ceme hen
Heuind, forwad
Q he iens ike bay,
we touch en Videolieu. geting media Conbrsls ty?
Coing, ue aue
Ze Brckend baut i-e. javo (new Media Conhelle Cth);
Vw set Medialontelo in Araylat and matin a
aw faden
4" Adding the uideDs of llido.
a mehod called set
call to
Wideo list o add(RYaw).fadal)
ideolit Qdd[R au) Qoueplane)
Nsw in betideo -

VU"sotlideo URL/U);
classmAte
Date
Page

* hene aHe duo uays doget the cusBent ocatien


any Andeid delice :
Android's Location Manager API
) Fused ocaton Prouider : ocsle PlaySerico location APIs

Debuagi ng.
Jebugngalls you to go thucugh each line af cade
uatiatng younass haniable methods and hewr
uellcode is usking
Stat cebuggén
Set breakþoinis nnyan a6' Code
In todlba, Aelect a deice to debug from target deie mnu
In toolban click Debug.
Click the Debugger tab:
The Android Debug Database ibrany allows you to eramine
databases and shaved brefeences in Androèt abhe:

* bumnèy af Andoid Afb


Deueleping an androld atplicatien inuelues Aeuoal
buscesesHhat haben in a seqential omamex
Caltcal 2s inuslued
) Building the APK Fle
i) Deploy the Aplicakon
D) Run the Abplcationhn
An APK Antaeid Packape kit athe ile format foe
AHpicatien sed Sn the Andro! os.
eleeate
Date
Paqe

STeb1: Duilding the APK Filea :


0) Code (ombilation. b) ConveHsion (nto Daluik bykcode
Java |Kot n Javo byte Code
Source Prie Sample
cIass Kt ( cas file )

Java Comþiler Kotn DEX Comþfley dx


Jowac
koine
Daluik byle- Code
(clases des)
Java bye-Code
Sample:Samþle Clam.ciqgs Anchoid Virtal qachine
(Datuik Andyoid tuntim

d Aþþ Dghbution
Aplinkon Raygwcecanu dex
aast tee) apk file javsgne
Sgnad
signeg palgn
aKbilder toet

Ansthold ackage
(oapk Hle)
Steb2: Deblay the ABblicotien: sohus cdah
AtþLcaktn Jeslymend i the þroces Bf installing, contiring
and enablinq a sbecifte abplication , usually hraigh an
atplicaten mangon
manaqex to a Specifia URLon aServet
aEotabluh the ADB SeweN fAndhold Devíce Deploymend Madkine
Anchoid Debug Bidge (ADB) JADB dQ0mone ADB
debloys an aypli~ation Sover ADB
to tndiod dlauie . Channd Cient
ApP APP
b) Tanstes abk Hile 2
to the Deuice
dassate
Date.
Page

Shes3: Run the Abhlicakioni


4) Atp launch Yequext Kygete hupceu, 0special kind
f Ancheld os þrocos uhich enables Code shaig o
dferent tndtances hat nun aco% DUD. Jt aunche
am abp hen a ueu make the Yepuest to do 20
bConveHATen 84' dex Code to natve OAT Hormake
lase dox dexoat toot onespondng
OAT Versen

Black Box esting hlhite Box Testing


D#sauay of detone keting euter ha the knesledge.
in ich inteunal stuchone absut the intnal Shict
br code is hldaen Or code f the, dotwne
i) AAe known as Amchona Sbuchuval testing cloasber
data- diven and Closed bex and Codebased festing
estinq
i) MozHy done by doHware kester: TDone by
ti luast ini onsumingtiu mastSotware Develojerd
time lonsluming
yNo kmowledge of inmplementKmsurtedqe of imblament
-atien is Hequired -atisr i Hegied
Vi) Had fo auormato Black-box TEnsy to automato hi
Vr)Aet duitable for alqoathn Tulell sutable amd Hecommen festing
testing dec tor algoithn kting'
Vin)dti cdone at highn leuelat is dene at louwr

inteqraton tuting
classmate
Data
Paga

Testing Debigging
bugs and esver the bu fund during testing
i)h) Testing à done by tester Done by proqrammer 07 developexs
Can be mamual &r auonaed. dt is auiays mamual
) Testing. is tnitated ater dtiu concon uith the execuhtn
code s witten test cas2'

Automatien Tala to Teslinq Andraid ahbleaHonk i


Jesting mebile abbs uaitial comhenent of the SDLC
dt is guite time and sessnce censuming anct can
be challenge when here isaneed to met deadline
1- Atbium: Jhis san oben- Sonce autmatien teolt that
Augpota ide Hange sf Andreid as
2Robetion : Open- Rource auomation tool that dubhokta natine
and hybid mobile abhs
|ros Rebust test, faster testing spedsdinmulaness test
3. Kebiten: Jhii gies he teuter the ability to check the
eal deie
Pros: Povalel lest , Easy to install, Simple UI.
4 KMAX: dis one Gf the best automatien teel ter
tasting haw mebile ap behaue nder
diltesnt metuiak:
Kos Cisto mizable , Conhsled anmd Yefeatable tests:
5 Squish fo fAndod ' Subor natire, wb and hybid motie hes
alssMAte
Date
Page
Nandan

Web Seyvice AHChileclune


Ihe hleb Senuiee Achitechne desceibe hew to
instamtiate the elements and inplement he
bhoHatiens in an inteuoheable YnanneY
Seuice keaistyontand Seice Deni7tin
Fnd
WsDL,UDDI Publrsh
WsDL UDDI

Seuice KRegnestose Bìnd seuice hoidex|oneou


Qnd Suie De
Jhoe Reles i
D Sexvee Prouiden- hà the platorm tat host the Jeruie
) Seuice ReguesBor- dtiu he asplicaten hat uloking
tor and invoking an inkeracon uuth keue
I) Suie kegiskey-Seutce Aeguustoh find deuie and tain
binding info fr douiee dsing derelpment

DPablish Publication tt senie deucriptiin:


1) Fend - Anding f derice duscvtbHern
n) Bind- musking of seice based on seruica descript
’ Autikad of ueb douie I) Seuice ) Seuiafeststy

4 hleb SHuice implementation li7ecycle sefes fo


he phaes ton deuelaping ucb doices faom
he Heguiment to devetopment.
asscmate
Date
Page

1- Reguivement Phase: he sbjectie u to (Reg- Phase)


inderstand the busines uguienoad Analysi)
nd tronslate them into ueb dunlie
4equiemend 0yneni)Development
wab Serui

2- Aralysu Phaye: he bunpese s to Melhodlyy Design)


(Test)
Hefine and tenslate ueb Jeuice
into tenceshual modele Codin
3-Jesign þhase 3 4- Cading Phase Diaqyam:
5Test þhase ; 6 Deplayment phase.

Web Seuice Sfack or Protocol Stack


Qualey
ofservPce Service Flow WSFL
angenent
4 webdenwice bAstocel stack Secrity
Seiuite DisoVery Stetic
Sevuica Publica" piveet
pically stacks Fur Aotocsls : Sere Desempion wSDL
Jbansþort Pectocet(Serv>ce): XML-Based Mesp.SoAP
Nekuork o HTT,FTP
Jhe netuoRK layer iu Hae foundaion
Of the web deie stack.
2. MeMaging Roto cel (XM) + dt u Hesbonsible for encodng
B Descaibtien Prstocel (Seuice-)i dtiu sed for dacaibing
he public intine to a shecitc ueb souices
deee
4 Disovesy PretocetSoie):dtis a centhailiscd
nto acomnen Aegtey dB that nekusk web souice
can publish hein ecatien and desenjplien.

) RESThu web Seuuic- REST stnds tor REpesentatienal Sate


nsta bretoel tcam be accesed hrough. URI (Unifpim Resonce)
(Tdentor
classnate
Date,
Page

*Acvantapes of RES TAul


odon) HTTP QHe :
RESTful web seaake paform-ndeber
GET, PUT, ROST) Prouide dit data ormale JSoN, HtL, K
DELE TE
Ihese ae Yeusable
Jhese ae lamgage neutrá.

SOAP ueb Seuice i


imble Object Acces Prolotsl. dt dfine standasdxL
tormate"Request and Response messagu
|Facebogk XM Reguat Todo APPicaten

*SOAP Protoce! RESTe Wob Sesuice


sec2 iSOAP iA a þrotocel REST US an archtechural abbroQch:
) Stareds, Sumble Objeck Aces otoca REþresentakonal State Transfer
it) Auay erchange data in hene u no stict data
XML fonote. eRchange formak.
iv)SOAP Laes web Seuice REST dloesnot haue amy
Dpinakion Lamquage (WSDL) Stondond de7iraton Larguae
v) Hardex to implenent Ensix to imblement
Vi) Uses HTTPo M transport Uses the most bopula H1TP
þrotocot þrotocet.

heb Seuuice CEmhonenda:

) leb Serice Desophon language(WsDL ):

describing he funcinaltly feo


alAssMste
Data
Paga

colection
by a uueb serice " dt descibe áeuices asa
ofmelBk endpoint , or poia
pes Element
Deftnatonkmeage Complex Ty þe
L0boo SInput
Port Type >0 Petaton Output
Serice Port
Elerments of WsDL

UniveHSal Descnibton , DizCovesy ama Totcgra Hon(UDDI):


t uan XNL based teqisy for businenessseie word uide to list
Hhemaelues en the intesmet: dtmakes the available
and the technical intetace which may be used to acces
he euices
TheUDDI busines Yegibry dysten has three drecton'es
white Page- InfoAuch as Compamy namej addrn, Phone Dmber.
19 yellow Pages -Contain detailed business data
w)GneenPags- Cucial busines busces , Op8rating platform s
Suposked prgrm,
Debugging wcb Sericeei
Debuggnq Procex
L Problemidenttficatin amd report prefparaion
Asgning teport to Sottoane engineex to veify
la Deyect Analysis uuing modelings fnding and tting fhus
L

lo Desect esstien by making hequid change:


La atidatien of Corectibn

* Debugging. Ap)aoaches i Brute Force , Backtracking,


Forward analyis lsing kst Expeniene
case eleminatn
Töols : Kadare 2 , hlinDbg, Valgrind
clssMate
Date
Page

Uger tntotace
Use nlotace (U3) dytines the uay human intoract
uth application ot ntomationystm
* Hoo to make good UI:
keep the InielhaceSimþle
Be Corsistent andi se Comm on UÊ elemente
Placememt 8t Îtemy

* Sgnipicance/ Adkantages
Make Userß inteNQcHonBie and eient
Uaes of blocks, ybaqrabhy make set Rxberiince betor
asines tor non- echmical peple

) Graphical Jaer Tnterface (GrU).


) Command tine Intotace (CLI).
Menu Diven Tnterface Isecd on Cash machines (ATN)
i) Forn Based ntertace- rable you to tnlerad with an ahple
Nakral Lamguage nttac User interad ulth the
by talking to it.
CLI
GUI
)Comnand Line Intexface. GtraþhicaJ Uger Interyace
) CLI diyit to use Easy toUße
im) CLI Lu fastuthan GU. Slower han CLI.
) OS0S neod only aa keyboayd Need both Keyboard mouje'
V dnbut ia entoud enly at nput can be entored
a command prompt anyhere n he Soreen
v) dt Censne leu Meroy (Gnslime mere memguye
vi) hee ane no graphiA Gtraphics are sed
cssMste
Date
Page

CLI GUI

Ardhoid UI layaut:
Androtd layoutiu ued to deline the sen intnface that
halds the UI contels or ulidgek that uill appean en he
cHCen sft an andeid apblicatin or actiuiby seem
View : A uiew defined as he UI thich Dashyat Text
ssed do create interactiue UI Combon enti ies

Such as ehuiew, Inage View, Radto Batton, Ed Texts DN >Image

Vew Grous:4t acta as a base clas to


Laysut and layout paHamekr that telds
uiew iew w

"Andzod Lineay layout: Horigon tal oy Vertcas Ohentationproþenty


Relatve layout chld view 1elative to each other
Consbatntlayout: Connect iew with Conshralnts
n Table layout ? Rows amd Couns to uiew element
Frame Layout: Pins Child Weo wihn ih fhrame.
Linear Laysut

Relaiv2 layot :
cAssate
UNIT:3 Date
Page
Nandan

enginmingtt focus on Viual capesince ot diyiel product


Usn interau ane the hoint ot intaction beteen the. he
es and deuelsper hey came in 3dit tyjpes o femas:
Dlbiathical lser Tokesaa (Gruz) The uw can intoact uith vilual
Aebhenstatiend Gn the digial conto panes "
i) Gestre - Rased Satetace'? Usea can ineract wth 3D deuign
Apacw by mauing thein bodis

%Haw to moke gend UI/Ky Conuteraion Wile dugning UI:


" keeb the interfae smsle
" Be onistent nd ue Commen UI elemet
Placement of item
"uck Resbonss

DTnbd ontel :Input Contal inslues butns, togles , Chekbeny fodis


lomsernlt:1t Containi Sideu, tag, Search field,,an
Natgaonal
tsltijs, icon, pagreMban, Natfiakon
Cemenentt (onlaissaodion
m) Jntbtmatonelontainex
fv Conkains : include

* VI Design Rroces
1- Functiona Reguiremsnt Gratheing 6- (Joabilty Jating
2 User and 'Task analysiv 7 GhUI duign
3- Infommatin lrchititne 8-Sottwae Maitnance
4. Piotstybnq
* IDeaign Reguinemeanzt:
Zhe fotautng are the keuen dialegu puncjles
) Suitabilt gthe Tsk. v) Eror elenance
i) SelyDescnijtieres V) Suauilh,fo hduidaly
Vir) Suitale fo Leani

Jhe t Pscsemtation charactonistics ne


1 Clanity 2Discriminability 3)Consisenes
4) Detectábilty slegibility 6) Consitomcy

Keep Vser in Contel Great Desgn is rusible.


enseue attentien at allCat Proqresie Dicleue.
Phoiole a natual net Bteb. Shong lisual Hienachies
Help Pesple Srline "kaep Selondary klen Seandary
*Mistakes to Ausid in UI Design:
Jo net mblument e Uae enthed deigr
buesiu iue of dyamic fteet
Phebaring cho much in aduance
Niet leaining meu about the tget audiene:

Sketch )Adebe XD 3Inuisien Studis


4 UXem 5) Fyamex 6) Mauel
Studlo
Date
Page

1SkeBch : Sketch is a vector aphics edttion wsedl for cauing,


daming
ueframing , þrstetybng and deuign Au lomiatl uith Macos
Key feakuxes:Intuitiue ucton editing trsle for fenible deugn
dnfinite sign
olsign canuais
) Adabe X): dt iu fest, it's poueaful, Yecor based daq-and
dhep , 3D Transtoms, fouestl animatin functinalty
3) UxPin: Jua bebular UXand I osly used ty beth nw
Land Seasened iduigners. Buitin libranies Emhedded
|LAEN oo Aeßabilits , Buit in onbast checken -
* etue Use f Seren keal Estate
Soen eal eutate in e-luarming trufes ta the phytical
Sbace Auailable an a combutess reens to he ameunt
Let sbace that is auailable on a bcreen
Six buincibles to be considered ae
D se shit sbace, but met too much
) Naew he margns
tH) Use grabhics and fignes carefully
v Place cled cabtening tratgitally
ae a tuspersiue e-Larninj diign
key Canaidertens and Aeategiu for Ophiniging Screzn Ral gak:
DResbomsive Destgn ) Clean Nauipatien
V) Hitabace
vi) Font ord ert omatting viti) Inkeractiue Elemnents

Concusien: o use dchcen haal utat eheckuly, ue must


ink lke a wsL. What do hey uant to dee on
he sran Hes they uil interpret thie info etc:

Push Nottication »> Deuia shecitie Cnsidnatisn.


X) Chuntd Content XI) (onsistnt UI Elemeat
Page

>Moble opplication a satuan apyiatin deuusd


LAbecially fo se on dmallswiaeles tomputing dau,
dauies
Juch ds Amantthons and tablet haten han dutep a loptp
Mebile aas ane majonly duulyed for 3 os| Plaoms
DAndheid i) indow;

ABtane asplatiens that huns en a mebile duic

in natine duice hati, hun bnly in he Oa hat


Aduantage Diadantage
ecen tot all fealuerosd ps. Doesnt tfot en suAe
2) Hybrid mebile Ahlicatien i
3) Ces- Platom dhsliatien: Jhee ae amewsks Hat allus
deualsping tetal matiue asphiation wich haue acces to
al matiúe featlves ef ToS and Andoil but uith bame Code
Advantage Disadvantage.
"Saw Lede pefomane
*MOintenana est s hówt omtd Use bspuinct
4) Pgeatiug hieb. dipliatin Prg
elkssMste
Data
Page.

duice- her tchnslogis uaed ane MincuH Blagon, Reacts


Amgulor JS, Natie Serist tnd nomaly wed ter web
delelspment þsoces:
Adantages Jiadantag
Deueletemint lseud ufut "Doesn't haue al he feahues
Notnstalatien sequáied. he cammunihy it nottide
sbead

*Jhe Mebil syplicatien Dudlgfment iyole


Dwclep Test Test
Mobile Cloud
Applcatien Releose Jeploy Backendd
Analiyz Monitor nalyge

Heue front-end Taks' to the Bak-end?


he mebile font end ostan data on he bat-end
us auariety of seuie call suh as API n
eme cau,heie AR, ane Buensd ano eseratid by
he same Lntily deuelebing the mebite ass nds In.
leme thers ceses, hld banty uned nd Bertu
* Pros of Msbile Atieaten Cons.
)lCAline Acces
)enuiue cabailitis i) Cest
bscoaliatin: Cempattill.
iMCnulnilnce'
Aebsites:
lebsits ane collectin y es pags hat ane linked
uh cach her whene he web pags Ahane he tnge
domain mame is publihed oiaw bever no
bubliely acesisle
Pros of hebsite Cens
) ser lxpenlence
t)Broade) Reach i) Sheed releakd iMes
MCbdat and Naintenane

*Adunatagu s7 Nobile Aphliation uen hlebutey’


DMebile abslicatiens ane tutn
i) CHine dcces.
It) Bter Rossnaliyatien
i) Ue e Mebile Deuice Feakres

*Web Deuslspmant ejess to the hees of crcating


ubsitu and wcb asblen that are aecesible
hssugh eb bheues- dt utrtherdiuidkd into
3categoris
1) Front En lleb seelopment i Dengning f uab bags.
)Back -End eb Deltement i Dealing with cataban and
Seud side programminy
full Stack bleb Deuclspment i lombinatien sf fon
Back Enol
rd and
Basis ot AndxeBd Dewele
(onpaitsisn Web Deuoloper
) Scope t Bimary Acspe in cUntened aourd Primay ACshe tonteud
Deelipmert\android abb develoþment Cusonigolin around ulsbatty !
9) Plakorm Specitie platom iu thain maintenane
3> Rroqramnúng C, Ctt, Java,_ Kotlin,needed"Web byou)en to run the app
Þyhon, ete HTML, CSS , and Javascipt
DB knsolede Needed to sove aph datoNuded to store webia data
5) lMe dfeult to leasn littlu eain to leam.
6) Example Wiakap, facaboot, lijkart Amayon, Yakon, GEGy te
Hgher speed and Raomance- Cosk-fiint in it dluilth
-ment

1 Tanget dudience VFunctinaky and UX.


) De~alehmend and aunch timne
4) Organic suach anod ease at dicsverablay .
5) Puay encerns
tAcastie bleb Deien
Adajtiue uab desigh is pecialy auelasd to adist
reatad t ft hest to ahecihic seren bige sf dif dáulces
Advamtagex.: DZadiantáges
Taaget forlach Usen " labas Snfengeu to cCreate
Sntheas load Sme "Hovder to Maintain -
Reusable Existng lbi.
ddetitng Mertialtns
t Resbonsive Desen:nthis design ucb duigrns design hl
l nttae fawebit in duch a mannen that
wthatewer uie yoL are LAing yeu can Cornfolaby as
Resbonsive Desgn wateh
Adastiue Deign
4|Sml

It adjust Contend amd width. Ac to deuice, it leads the Conted


laccovdin to the deuice. Gt ucb þage tat atreacy desned
Designes haue to uok les snon houe to uork more
dt ueks well fon bmalle
Aites dites
dnaps ntoplace dine he
Sench Engine fiordlys Bet sen erpenince, Gutpetorms
en abeed tst
Feribilt, ,aslninfemanl
Move Coding ulebsite i conple
Slack, Gtthub, Shoity Appla, Aroagen:

ueb-aylicatin iu an Dsiatin pognam. heti


A
suallyAtored or a temete Aemuer, and sers can
accos it thrsugh the use ef Sottuae knewn as web
browse
kesanch Arolysi
(Databas
Web sbpllcation
(46 Reualepmnt)
Apicatien Senvez: Bocesing Dabbose
Ship Use Alaating Pogan Madule
e-cekloefe Daka rekuming
enline Web
Serve Slate
wlab Page Rekuvming
z.Web &ewen fnstruct asle
Web Serve receives Server to þroces koge'
wger reguesthe
1Aeb bowger repuest paje request:
Intemet webSenen) Aioty
Seer

5. The Wob bewer 4- The abblicatien senver


dend the eutput
to the broWser proce the page and
geneate sutpt

A1Dediatd mebilo blebsit heb Asps uth HTAL5.

Adedtotd omebile sit isa bebarate Versitn t yow


ucbite designed enclsluely for mebite deuice ?
for the mmsbile
>he mest commen implementation i main demacn
Aits o add a piefr or Sufa to the
com)and es auomatally
(er exmtle . Com beomes nexmple
Had'rectd to the mebile sit t hey acew he ebsite
a a mebile deuice .

Advantags : Sebarate meble and dsktos Coret .


ol 7ailaed Conternt
i) Shed i Colimige and sheamline the site for mabile Vsen bxpeniena
elsier anexiting
M) Quik deuelop meni you aseady haue Luchit , i
to buldand laune
Diadantage;
I) Multple emainURL D Reguise hedlrectir
* An IN5 mshileabb ts a ucb
acstieoton deueloped
ih esion 5 6f tybertest Maskub Longuoge, a wb
Standand desiFndl fer handhld duit e smanithns
and tablots.
>HTM5:Afowenkul toel for mabilh Aliation Dualspment
44 is he main demain f mest cien blatorm abplicaton
dedebment tosls such as Abache lo ndea, Rhodes, te
dl makes it alortles to create a puly eatud ibah
hat can te ijdatid bemetly wth nw fnctenality
key featues:
DOine subbont: dt incudes apll cadhe, neb thage amd
indened database APIs that sores HIML, IS, CSS heSewies, localy
) Multimedta HTMLS has adianced casabiltieu for Sheaming
wdeo and Qudlo data, hanlling aphics 3 nuiatien '
<lideo Sre
sve="myuideo. m4 "" Conbols/s
<ideo oster ="myideo- Jpg" can hols/>
M4" tybe " ideol mp4'/>
< Sowrce src - "Mywido- my"
"mguido -ogg" type " uideo/ogg"/>
(embed Sre = "/o/my/icdeo/ Player '"/embed>
</hide0>

Hhe uebsite
iv)Canas : tiu sed to dau qraphics en the cb tac
Canuas =dscument gitlementby 1d("myanua)
lndroTnes. lidth ;
Canvas " llllh=
Set Canuas hu'ght = induw. inmwL Huight;
dimensin
Famuots_fen eyplasten dudlmeak :
Jueny Moble: his iu a wnifid UL Dyslem aBH al popular
msbile cdeice palforms and a buil en Jluwy and jluny UI:
t) JOT(JOTouch) This is aTury blugins whick consist ef
animatien,autemate mautyatinoett
) Sencha Touch &his is usedto create mobile ahs for
Seral palfom lnclding les, Bbekleny and Androd

X Andid Histony featines , Wepsions


Best andheik altenotiuss,Sel sucdy LMS,
+ ios, Graphene Os , katos, (Lecture3.2-5)
Sailfsh OS, Vbuntu euch,cte

*ndeid Fundanentaldi
Andreid dan 0s that i built besicaly fer Mebile þhones
tndreic kcaxamnng languoge, Jaua or C++ or kotlin and XML
2Andeid ompents Fur major Comjonents are:
a) Acliuttie :4 deals uth te UI and UBen lnteracton t
the Bcreon ·
publit clas MainAchuiby extends Aciuity proes Í
BSeruicas t Seuices Are the backysaund aten afelmecl
by the abþ
þublii clas MySenies extends Senlicen nCode fon Seuias
) Bvadcat ReeienstABroadcast i wsd to hesserd t mesages
fem aten apiatins Br fom the ytim
bublie clas Mykeceie enknds Budcast keceiuenS
pubtie oid onleeial Contot, intent) $4
Me aplicatien to he ohers at thu'Heguest f the
her asslcatien
bulic class Nyontert ouider extends lonknt frouider þuble uoid
on Cveate (03?
18the
3) Shuctral layout o Andhed Sudio :
Menifest i an XML fle that, root
LAPP
Manit
Java
Manifest Folder-t the prsfect swre set
jJaua Folder i faua hty Hat ane nuguird to
ITes vdrawase tak
petorm the backgro undaf app
Layout
Gradle sompts
Gnadle Fle: Gtyadluan advancd Lobt
whik dd lsed to manage the build þrss, hot alleus
dfrlng th ferite custom build contguatin
4) Actiuity liteeycle :» Unit I nctes.
* Hew to bublsh yes
Skp 13 Makea deueleter bccount
Q AHer Stebiclik on the CREATE APPICATION beuten
3- Store listing.
4-Abo heleose
Content hating
6 Pricin9 Lcitibution
8-bb helease
Cate an dndhsd breict Follau) theeSkps
L Tnstall Andreid Studio
On Anduoid sudio uindouw , Click Creat New Paefel
classnste
Date
Page

you aleady have aþrject , select Fle> Neo ’ New Poject


b I Templale luindouy `elect Emphy Acliuity and click Next
b Ih Cnque youn prgject uindow, cemplete foluinq
FL au deails- Name , Select language ,Selct version ,oc
b Clik Finish
L Ater some tine, Andueid Studio main windew abbeans

>is dsble's mebile ehoating dystem develshed and


douies
he hirst Vensier e dbsle i0s wuas steleasedd on 29 Tuly 2001
Abble iOS, Wnin-ike OS, is based en MacOs
>Xcde à the DE used by ios (and Os x) develspes
XCode bsuide an interte to the combiler gedibr, eke
VensioN Histoxy
Relkase year os Featureg
SN
Jx Sernes a003 Mac Os l0-3+ 4A iz based on project butlder.
2X Seni 2005 Mac 0S 1"4+ encluded the Quarte lombogen
|3-XSesies 007 mac OS 10"S+ include DTrace debugging tool.
4-X Seuis a0 macos l0"6 8+ indeqated the XCde editing tool &ink1tae
S-XSeiy 2013 mac0s 10-8+addd subbort tor ios 7 SDK .

|mac Os 10.14-4+ New hatwes in Suift 51, frameuosk


Xode Poject: When mCheate nwXode Rofect, t Sheun
ory inormatien bfhe prefeet hat incioes -
alceate
Date
Page.

LAes multi- touch gestnes ike buipe, tap, pinch, ete, to


acllitat the wn ntnating wih the aplicatin he ser
Can tiggn Qny Luend using suutkhe, butns and slides
t IOS chittctne
here ane 4 absbaction layer ih ios
CocoA ToucH (Aicakonl4ye)| 1-CORE OS - tþroutde famework
|MEDIA LAYER interacfon uith exfennal handwane
CORE SERVICES Qnd secwityEg: Core Bluekootth fiamcustk
CORE OS hardware $ secwty tramewwotk

Caore MeHon tameurk, foundahon, Healthkit framework -

audo and uideo

4- Cocoa Touch layn d centains fameks hich ane


heguird or reatinq an asslicatien -e_ I Evenkit, amekt
Mabkit s Pushkit ramwont
0S Abblicatbrs :
Home Soreem Notehicaticn Cender
Apple Pay
Garne (enteL Blucteoth 9 lamera intgraton ,
Location Serices 9 Mabso
X Advantages Disacrartge
More decwne tham Other 0S Move Coutly
brcellent UI and fluid hebense. les Wser hiendly
Suta best fon Busines &Pastesnal Battuy jepmane i peor:
Data
Page.

|Eery ies
,"Aþþ is ot Yunming, when tbyusysem not
Not Rumning|+ yet tumched er temminted
inachve &tate, when itis in
" Apþ i n an
Inacive hetoregraund but hucaiuing eent.
o Acive, tú a oYmal moce tor abp
|Acive
|"Apb tansition into backgraund hate,
on the heme
Back qrouncahen he user tabs en
doreen while wsinq aplicatons
Sspended

*Featyes of ios
) Multtaking )hi-fi, Bluekooth anol Cellulor Conuctiit,'
I) Gestne ticegnitbn hupsont.
V} Localletifieaton
Vin) Jak Completin

iOS Profect : (onventians Struchese , Pefeet


9

ConMentans
Naonin lenMentibne iFist utaslishing manming conuentiens
tor al things toe fil names, clas names, prsject names, ete .
adkssste
Date
Page

oShuctuIe
CHeate sbecitec Wonksbace.
|Create a Bucld Automakion to spting Common tosks
Create aAdtcc and Apþ Stoxe Buld Contyunatien
anage thid-party- librarles utth Cocoa Pcs
My foidey Shuckne- ApplicaHton , Contolle , Lbrary Model
Resources 9 Vendors.

"Roject When an iOS þroject i Created uithin Xode, the


DE Ceatu a Bet of iles hat aHe Heady to un : Ihee les
bseides the basies of what is neded to get goinq with a
Main m, Apþ Delegoto " mi Receies msq trom ag objet
MainStory Boava" sloboad : This owheNe. UI (S Created

Debugping T0S Ap:


Moden-day TDEy þauide aqrat deal tosling hat helse
ldouelepes nd isses tn thei code before it heaches þroduatio
>Deuclebenß Wse he fos imulator as Hhea tist ulay Bf
he dbugging tosl uthin xlde ane at he bottom o! bsksþae
ik w'a~sug trea +Shao Debug Area to make debgging tol visiale:
Local indow, dhUs you iut ef al Vaniables hat ae
nenty uuithin seije byeur Curnt breatjoind
Breakpotns , can be set by clicking on guter"
Output, itgus importortt lnfo abut he executin of
t Objectiu:C
Objechiue -C i the þrimany þrcqramring language ,uad whn
nting seftuane for OaXand i0s -
Aad sujeraet of Cþpoiamainq langunage and pieuts
and a ynamic utine
ject- 0xiented casabilbtiu
imheits syntaxs brmitiu typa and Jow contol
stalement! ofC.
xCharacteiutiis:
The clas à doind in tuo.diHenent seclens namey
implementalto
@interface anél ®
0bjcct Hecaiues mesages and oten teered as tueiuoss
0bjcts Contain instance vanoble -

Su7kort i Fully dubþant objct- Osinted fregramning


language abjeet-biented duclgment -
neliing four Pilans of
Encapsulafon, Dala hiding ,Ihhenitant , lolgmosphim
4Methools
Objechive -C dlawy_Methodscan be declared as eithe
he inlerface f clas mehods.
detned in a header le fornstance mhed or
each intufae Instamce methods are calledby
@inerfacu Dog:
3
Animt
nstance vaiables
declara hòng
bending mg diecly th inskaneoflhs
ondmethod -(MSshig) etlame 9fAnimal
Oboratos Loob8
symbol hat tely|t allousy yau to erecti aaBhnt
An oberaorys is a
loglcal manipuhtin dowhile y ested losps
athematical o Stalementy -
, kalatonal , " Contel
Eg -Afhematic -byeak &fatement
oqcal, B:hie, - Control slatement
Mse operato (ijefs k, t, 2:)
indws Mobile 7 Develoh nant
Windeus Mobile t develsynent is done ing he NET
rarmucork Jhe -NET fameuok sa suftuan famcuok
reatd by Nicnsetfor use tn creatng lindows
aSpliatin
Pocedurei
Geltng Set upi Douunlmd the develipment toel
9Opening Vaual Studio
reating Youx hrgect
ONauontinq the Uz Edfior:
Gang Yoln Applicaton's Layeut
<Grid x:Name ='lauput Rost Backqraund ="stotiz Reusuna yone. Back
gYound rush >
<Garid Columt Defn tons >
<Coumn Definitien hliclth ="*"/s
</6vid ColumDehnitons >
<Grrid Rew Definition>
<Rew Defniien Heght ="*"s
<ernd.Row Deinitiin

Addeng the Button :


ZButton
Grid -Column='o
GindRow "0"
Content ="Tapme "
Honzonfal Algnment=shech"
Vertical Alignment-"srech'" >

Adding Event Hondlng:


Button b= Sender as Button
int cot = hrid" GetCeumn(b);
int Yow =Grid oGretRsw(6);
i{( Ce= =You) Gyid Ber Column (b, ttcef s2) ;?
elsef oido Setksw(b, tt 2); ?2,
Page

* Build yo st Aindoos Phone 1 aþb:


1-Downloadin the tool : Vesual Shdio TDE, SDk , Cocle Sample
AQur tirst hlindeus Phone apslicatin
3- Construchon begins
4. Modihy the enistinq asb mame and page title
5: Adiusling layeut and addig cenhols
Creal your ayplicallo layot, add buttons, Teat Boxle
6-ime to lodei Do the gegutred changu ln XML
Righd-clickon yeu brejct and sict od , hen Clat
launehi he tanget typu to lhdouy .
Phone Emulatos
[Draw Dteyram
t Abb Dstibutien:
Abb distibution i he Bsees heleasng an abs to a
bhead set st users in sdn to biemete atp ngagoment

*Netl dhyDtibuten Platom '- A msbile asp ditrioutin.


blatlotm heldy the Bllectien e mebile abbs n ell akgots
dep blattomg i- Amagone Appstore. , Samsug Gralany Sy
Gocgle Play Store , Apple App Store g Rre<ox
Mankatplances Micaesot Wlindews Store, Blackbeny hleidl
* Building Abb Ditibutien Stakeqy :
L3Tangetting multislechanmels platprms
2. Audid nén þentorming patoums.
Se Consitnt chanml stnjatin
a Determne micheaip dúbibution channelte
°Pay-Per-
Installs *A$þ *
Create Top
Pre-Loadi
sBores/ MAbile
a
mebile
Recommendation
dsAbp
leb Dotributien
Mersisn

ot stu.
youn channele
4
tor
Busnenes
Besiirees Page Date

You might also like