Download as pdf
Download as pdf
You are on page 1of 109
A Laboratory Manual for Mobile Application Development (22617) Semester- VI (CO/CW/CMIIF) Maharashtra State Board of Technical Education, Mumbai (Autonomous)(ISO-9001-2008) (ISO/TEC27001:2013) ans Maharashtra State Board of Technical Education Certificate This is to certify that Mr. / Ms. Porth. Sachin. Roll No....2..... Comenicn...209) Fang) has completed the term work satisfactorily in subject Mobile of Sixth Semester of Diploma in Application Development (22617) for the academic year 20,29. ..to 20.22)... as prescribed in the curriculum. Enrollment No.\2\82229° Exam Seat No. Subject Teacher Head of the Department Principal ‘Content Page Daeat | Dated [Kee | Remark = Til ofthe practical Pete | perform ot | om Dated Se | Gt any) “a Sanous operating systems) Poo 9.2 [25-5 -2) 1 fsith android os. Tnstall and configure java hg frg-3-2) development kitUDK), android — | s studio and android SDK. Cont gure android development 1=9-21 | 1-3-2) 4 Jtwok (ADT)plug-in and create 9 Pret aes 4 vg Pes-28 far-3a Develop a program to implement | . ww [g-4-20 |s-a-21 Inncar layout and absolute layout, : mv to implement 6 | frame layout, table layout and, a te relauve layout 7 [Develop a program wo implement |" Ia, faces sxt View and Edit Text «| Desclopa program to implement [Ta [yqeq nat AutoComplete Text Vi Develop a program to implement 9 | Bution, Image Button and Toggle | 31 Baton ']DeXelop a program to implement 10, |Jogin window using above UL “8 sontzuls, his -ty-24 |tu-u-us Ng W-2if\g-4 mas Develop a program to implement Chechbvon Develop a program to implement Racho Button and Radio Group, Develop a program to implement Progress Bar, ss eee Pewee sa fag gut teas ot P9-G-UP eur! Develop a program to implement 14 | List View, Gnd View, Image View| « and Scroll Vie 35-21 Develop a program to implement . ss-u1 'S [Custom Toast Alert 2 Devclopa program to imple . 1 # program to mnplement | #2 [toxs-2] 0-5-2 Date and Lime Picker, ee Mabarashiis State Besant Tex! Mote Applicatian Development (22617) Develop a program to create an we frase fies-41 {acuvaty Develop a program to implement a 2 sw activity using explicit intent | 6 and ty Desslon a program to implement ent provider |_| Develop a program to implement senice os [93-74 tg—9- 20 "Develop a program to unplement | broadcast receiver. to [RHJ-LL | I-LE lop a program to implement us Pa3~21 | 245-21 jau-snts |te-s-2) [program for providing Bluetooth connectivat tam ]26-5-20 [263-1 | Develop 4 program for animation, | ru 26 3-u fear [Pertorm Asyne task using SQLite. | 6 Create sample application with Jogin module (Check usemame Jai3-20 [319-21 a7 {ara password) On successful | 4, . in, Change Text View “Login Successful” and on Jogin fail, alert user using Toast “Login fai! c login application where | 28 | you will have wo validate usemame | P‘?-t and password ull the username | , and password is not validated, login button should remain q 29, [Develap a program to ple pees Send SMS by Receive SMS 2-6-0 xo, | Develop a programtosend and P| oo cay |recerve e-maul, 41, | Deploy map-based apphicanon, ww [y--2 |o-e-21 yy map-based application. | Ty cca | geo Total Marks Total Marks (Scaled to 25 Marks) © To be Transferred to Proforma of CLAAN-2017 Muburwshtna Sate oan! of echnical Education va —|_ptocrical net: compate various oan System with andtoid 06 Were Heat Met different atwimid me version, > Android Lo Android b-O Lecream sinceich —{Ardreid 1.) Android 4% \to4-3. 1 Jews Bean _ | Android 1.5 cop cave Android G4 wOou Kiyuat Android 6 done Android 9-0 10 S11 Cont Pop [Bndvoid 2-0 Ecioir Android G0 to 60-1 morsnpraiia [Pncrnid 2:2 Cyo¥p Andypid Fo jo F-1 Mougdt Android 2-9 Ginger bicod Android 9-6 Pic = —____l|®ndreid >-0 honey comb. Ad to @ I < iS roi Hi. > \. Beaurifu yT_ 1. Muli ouch, [2 connectivity @. Muiritosui ng . 13. arorage 9: Resized widget b. _Media Sueeort (©. Muli ianguage. 3 messaging (Nec 6 Web Brewsek PR. With Diyect l # lencercise ___ 4 ditfevence bet” windows og and androides, >| windows 06 android os QV uindows 6S io forge android os is for smartphones. a windows da comolety —_indroid_is oven spurce lctesed source 3 window lise _hubrid andtold erne\ use tinue. = _|| berres. Rerne |. : Test p2 : are alt C308, —____findinid_gtusio and android Spx. -— Brndilcal_Neloted questions “Nish alt steps to insta\l android Petting system _ 2 .\- _Downede gargie anaroid os = .2. write iso image File to Co/oup or Usporie - os ou L. install or test Run Googie andteid in youk pc S. \ OU 2. \is\ different Tpe's thot an he used fo execute android og __\_ ‘larpeé ¥) AW 23 Ovid seripr S) Python suis 2) cf? braid 6) Sova suite le ere J write difference bel” avm and _ovm. 4 Dym Svin D) Wis veg tcr based which ir lo stack based « L\s designed to run on ow menpy 2) ouin Support andreld esony — Ivim support multiple os. Bi Fer_Oum very few retools ae. For Jvm mony te ~to0lS ic. | owilawe avaliobe : 7 GA qhete is cotant pool forevery Wk NaS wnJtank poo! fer every | appiicarion Class. : —_ - 5]|_hele the eaeecutane IS apf Near He erecapable 15 gah. = 2 wine is Tok? wing _Jvd_developmen> — row iS Cssienvg | to Instat_an ancirola operating susie ——~ - - D+ on \nregreated develoPms von ment CTO&) ka sofjunte_appiicaien hat Prvide mer hens le facl\\ Heo fo computer progran inc For_SOPPWOr develo. [AL so0vO_ developmen kikcodK> 1 a software developmey “lerwironment_used fer deveinemenind 3avd applica Hons @ apPier it incudes tne qua punime environment Cee’) An jnict pretch \odet Cova) A tom pier Cave CD an achieves Teaor) a _doqumentation d enerotor Cyaiva clog) o MEF foow needecl_In Java development PIACHeA! nod configute andioid deveepment 10019 Chor) . pd in and creare android yirtua: devie - — | PLACHeeyh leiated _Questons - Mist basic reauirement of @nRiguning cdnaroid eon Lyre? 166 pit Sratament is yeouired fer andmoid 2.3 sb hlaner vewe 23368 Ram minimum BEC ¢emmonted - 326% avoliable Auk fate ¢minimum 463 rcomaneied . SJ SO AGCO MinimUM Severn Puoution- ' Erode Car un} 2 Diy because Java < anarnid us eseperare environment to rw 2\ android pos been medified to ran an small devices with LexchoW Hon of 1655 comaiting - et \- android Wes He davik vm inited of syne Java um- te ig e te? 1 A_buiid Vvoriont 15 © creas produer of o ould type & Preyer | ovr 4 io the configuraten Gradie uses fo puiid your ope Lusind build _ VOrOnt you can buicl the clebug ine verso) Lof your Product Flavere duning deveiopmenr gr signed ree® version of “our preduck Flavor fer distrauN'on. expan ane build procesS in android? [The build Press involves many tee!>_and pre thet Convert Jugur Prmect inte an andred appiicaHon package Carr) The Lhuid procesS ip very Flemble 50 1FS weAll te under nd Scmme. OF What |S haPPening undler $hE fool. [7 The bund process fey a r8Piel_anadreid ger mele Ferecu me general Sires O7The comeijer convert your source tat© an andy @nd_ Ofer Fie unijen jncude the byteade shot by ot) oo Id device 4 everthing else | tom eited oui 12) Ty eX package combines the DE Filed Ad come resource inte an single Ark pefole ueuk ape can po I \ Adept 1 Ndroi'd vice. “the opit_packoge san your ap UyiAd either she op eV Telease keystore : ~ 7 ODT sou are pullding o debud version of your apP that i ION age You intend eniy for FesHind And PrOFiling te patage Sign® your app with the debug rey Sie ® grit Studl © Ate roticaty oreigures new proiecis ulin a debug Rey store DI AE vow ote bpuliding a Yelease versian ak your ap) ‘hot Yeu Intend to release enternaily He pacage sign vol wy \ a Stanil Ip age in Andraid studio. ® Defore gereriting aour inal apy tre pacrose use phe 2ipalign to oorimise yout APP im use jess memos when traning ah covice /PIOCHco| NOU 4 _devei“pe a program ro digpiay Merlo word on scree t ~PYacNcul related quearions ._ Nor the gies “sogd fo wet lste WuttL_taram J). OCH VAY Jew & activin’ -main-semnt _ , Sap 2-189 | vosyes . - > redidrowable 1@ = build .gradie __- - : Vey i ming. + 1 Doan activity represent a single screen wi th a usek inter fae dush [we window or frome of JavO andimid acti by is tne [Subcias® of ronfent The mewmpper class Wh Ardioid sustm initiates iS eroaram. fake cs v5 cul ae COllpag method . Whine Actives class decines the folowing few back ie evey .) oncyearec) &) onstopg a 2) ONStoy bO) S) onmestrog ©? 6 >) on RejuMeC) 6) on pestayrlD a L _ Exercise - - —— ourirs 0_stcofain. so_diePos hele oor . i Cizont version ="1.o "encoding ="ure ~8"'2 2 : i C Lash id e nN layout cif (95 « oralrola =" HHO: I scheme - android.com OPN! res/andiow ” -eniok foal-"“hirpsischema2 areal tan Linai “arms Pe’ hs pe Schemas andVoid com lap |reSoub ON Grol d.1 quouh aw id tb =" atch parent! | a ONGrONO ‘lgvoUk -neignk =" Mmokch fayene OPN -!avoup denouipur ; “crvi09 1. 0# 0 hop SCHON 2 LUI ew eb cu our’ FOO 1% SHOW Tn 2" ladOUk Coichivi by «met _D” AC015 (Ont RRE > Mal A AcHUiEN > Zisktyiew Th T \ _ { - landrotd: avout wid hs _landyoids taugub nelghhs " wrap consent o a - ~ “wrap-contene Nyyeilo world 1” — ptiom -fo Botton oF = 4a, landtol ch. Tevet = app. layoub- conotrainr 2 i -! i lope: iougut consiolnt pePh to let of 2" Brenr Tl ae S\garers" laep *-loypuk consrain ToP- TOP pe paren” /> 2 Candroid xconstralNt lauoub awit - con iit | touodk> . i wHte a preoram te display Siudenh rrame_and mary. 3] C22! version "he encoding -"UTe = 82> _Condre} dx. consralnr foyout woah . cONSH ry Nt fy out Zmims'- androids" nrtP it, Schema $ androie . coma ls. lhyes » andveid * lawout -wigsh =" match. Parent” andtola». - heignt =" match - Parenk" ip toolS sJhawnin ="@lauout Cactuiss. man” 40015 -CONtget =’ main achivita”d program 2 \ineattavoub aemins a ick =" AiO: 1) Schemas andi! Ws laps leSrandrold'” android: tayour width Ven parent” androld \\ououb height ="Wwran content” andinid. -Orlention ="VverHeni's Lputto L android» lquoub ~ width 2" wrgn ntuck” android = loueuh -helonk ="wrah - conrexeh androld +, *BU+ton 1” — androld :10="@4 id; button” : android. background ="#35 803275 — —_Andtold: tquoub width ="wran- tonarent” AND o\d | inuout-hefant “wrap. conte andtold + tect ="Butkon2” Andvo ids Ipackground ~\# 6 VBi06" 17 Cl Vineat Lowe ud = Practkeal_ Nos". Deveioo a _Pregram fe _IMPkMENK jing. lout ond obsewute tauomt Practica related cuerHons - LNOME any spree auout manager? \Diinear touout S} Fram _lemou & H2) Reative taueut 6J ish view = 3] tuple iayout U Gridview absoiutre lauour 2umat 4 jew 2 wv No Fromeiaueup with g rounded cotner JOaCK found ans *\ cord view Wes elevation property an lo )PoOR Far shades Baws loack ts a cusism emulated Shadow —imPiemenyosior An elder PlopForm. 1 S\ Duc to ecpensive nature OF rounded giknek cv? Ping on i Platforms behole joytipop ,cardview deed nok cle iw i chiidren -Prab intereab with rounded camers ini iL {bh add paddind te auold inidsecHon . I) Before 1ON|POP rordujects ciode PUDDING te "35 corel & dYOw S shadow ta that arec. His Padding amount ie! fe_mascard Elevation +Ci-osas) # Caxcir Rua ida on He | SId@3 &_ mae corPElevoion & 1.5 4CKCo> Wd qe pod en to2 & Botrom. Erceyc|se th \ yfeorlie. a prearom toPiae wome Age and mabe WO \i nears Cversedl YON the aisolag Screen curing ine — IhQuout - A fneok louout o | androids \ayoub width =") a p/ android \ quaub-neignt="aeude” _ Id orientation ."verucai! Crack yiew | android» layout-width =“wrap content” N android + quout height = “ura r_ content! andyoild + teser = ame"? Leal btext M andtoid sid ="ta-id Led! bern!” * _ | androids loyouk wisths "CLI parent” “ondrotd souout- heighk'="argn~ content” android. ema="to’ 1 Sh, oanatoidl:. beret ="'@,si rin lentch. seach! 6 l android :inpubtype = "Perch LTexepuiew nde} d: ta Your width =wrap- ton tent | android iaysut . height ="wrap_ concn’ Android:.tect "Age" edittech android tid ="@td feo eset 2.” : Android ‘auoub width ="wrop canter” Ondrold '. ayout-helont =" wrap ~contcat l android: tnpdh yee =" number!’/D _Crecrvlew) | andyofd layout width > wyar. concent” | andyald No uodk-heignb+ "cura. content” andtold tea —"moile fumber!/> - a [cpa trereh | ondrold sid ="@ridreaittresrers |” Andtold ‘avout. width "wrap content” = andtold sioyoub-helghk = wrap-conknt androld sinpub.tyee =u mber? _ Zinn iauou oe \\\V i { [ . \ \\ 2 orlte pro program to to place, ome _o age_and mobic [Dumber centally on the_display screech using ~ | absolute layout - : ICAbsolute Couout SSUES y See | android Louous evigth =" 2 "19q0'o” | Ondtald * loyouk- -heiants"wetoe” _- . 1" Ondtold t orientation ="Hohizontal!, | CYechulew ————_—— — lho Ondrold. lagout width = "wrap content! a Android «!oyoUk eighh 2" wrap. onkene H Andtoid *. reek." Mame "> _—___||CEdl+ Teser oe a a _ Android :id ="@ id Leal tea” android * loyouk width = "Hit. ayreny” Oh uadth= i. Aakeny —_andreld slayeut he lank = "rad _ ronrene” ia Nig) ______Ahdtoy ds. teach “@Otn9 lenyer~ trey — | -ANGO\G input Type = tere ID | Cfeatyiew __ondtola : Lago width=! rop one { ANd roid : layouk -helgnk =" wrar~ (on tnt . Ondrpid tere -"Agel i> 12 Ed Tevet Indrotd "1d ="@ 41g Leal bees ¢/ Ondo ld: layouk-cuioith =" ‘Wrabon eft andtole tates telatt rap -conmnt —— androjd : LA Ri tae . "num perl /> | Crekb view ; = ahd rool” Iuedk. Wid 1 wan content i / GH "wrap conte UOUL net ant -"wrapcontht ADALON OA" kekt =" mopite num her> ‘tt Ablolute tayout - _— | | 7 , Practical noG."_develn?_a_Progim to implemen Frame iquoctt able louqut and relattve louout > I. [practice eee ‘ ise t different attribute uhich @n be wed with ay layout \. amiyoid sid 9. angrold = layout x weyotd slayout width 10, qandyold > guout) : : ; oa 3: android tlauqut helgm WW android - width L& android » taueut matgintoe (2, apdvei de". Padding 109 5_dndtoid *. layout Botiom \D» dndreld ' Padeliing hortor: 1,6 Andtoid : lauedt marin vignk US. andyoid 1 Udling Riant Z_ Ans roid © \auoul. matdintert U- andvojd * fading tet S. andyoid * lquout gravis : 21 ube io Erid favout® La lauouk trap places 149 childien in o_Heckanguldk ghjo! i Vane grid fo composed of od seb of Inflalied tnin LAtnesrnat seporte pe viewing element inte cell. I | Pacerclie . Oo Spudker' An atable form wing fable iauou t- aS activites. main vem 1 7 0.;.m\_vewlon sV.6"' enaging ."ude-6"?> en ‘Londrol dee oN Wolnblayouk wider «(ow HYsAb iaqout 2 andipid ‘lauoub.width =" mech. AorcenkY |_cndto{os touou f. heiank =" ma keh —purorenr” || Ztaple (auouk —_andtord "lougit width ="maten parent” ____anettold ladout ela = ima toh ween” | GhaToL A. tour margintoo ="100 de" Ik ble Row a : | andrerd ». a culdth > march. parent 4 android * taunt eiank =" match - Purent” f | enclteid = backaround 20 86@EC > ee oo 7. onaroid: td."@- td/ heactui a!” a _ — andtoidid = tayouk wld th =" odr” : k— | androids. tayodk. heianh ="eunaP_ ont - ANdroids laud # - cormn 2! Ondtol 0 decks" udent nome” ~ android: Keize:"epe "2 _ el | ZisaverceS 7 lh | Cheschic pow i | Androl ds lavedt Colo = 2! mabe ravens! - | Android : loyoh - helgnk "month eve nt” 7 7 LC Texh jew —_ - | anorold fd :"@+id /ectyieuw” = Androl d+: layoubk. width “"WJoup” android ' lnyour, helcnh =" Core —contecr ANGvo1d lava Ub. Colum ty” 7 andre! a te "dope! 7 OO andiolde tcc ies! Nipio See Riexpview =o 77 ! androjd Ltd "@s id Perk cles 7, 7 ——andltold .ogouk width ="secte” | =itsodbhela ep Eni” Ldodkcowumn ao! Tndrold : turn 2g!’ oo |e oncrole 2 1 keectsire =" ‘ie so! "7 - | ___ | Ctsaple fow> | _ | crsaplewmuodt> — 7 | ee eee : A LYNE A Program sw dbpiciy all Ye dota tues in pwect Criented Programming wing frame tayouh Scher oe ee e CRxmt version 2 "Lo" encodings “ure-s!2> CG Crameigicg We : __ondiod taunub -tuloith ="match Pareny? 7 ___eandvoid stououtoheiants” meen Parent) Crext view | android * id -@ 41d (teetolew ” android lauouk width ="wral-oncnt” andtold Nouo Ub hela =" tg? -onknt” e Android ‘lauouk.oraui'ty ="' te” android *. tact 2 in! android: tuctize-“eucsel> Cext view i Androids id="Weid:rrebview2! ondyold * tough width ='w raP-onteny? Ondtord louout hela nt ="wrap~ on tne! _ —_andtoid ‘cach =" Alot! : __andyotd toot. arovita :'' righ!” —_angrold tpeabize ="2650'19 Vetus __anorold sid -"@+id [actu lew a!” ___andtor 4d’ lquou baw idth wan -tontent” : __ Grirof dd vouout. helahts"eurae content” Loe anoyol ct A a | aNd told "sect = ¢ — | andtol d+ tedebsi 26 °'26 sp" > : ZL iframe jqugubds “PACHA NO? . pevelbe a prearam to JM Pile Met tars, md Ad r teat = —PrOCHL related _quemon ‘unich of ynue LU not defined al a Hoel — Ba, hon -wible C- foreajpun? > 6 - visipie a. Bocxaround- >| non-visale . : 2.thak b sre pome of phe Fold@h rhok Condwiar MWNeR. yova Kiet. ashe ¢ bin : b. ted o. Gem - Si aen. Frere. \ write _@ progiam Ye atepe cename and Paliwery From $e 38 {uigh ina teh view ond elk tye. DOcHvisy moi ekms C&xmi version =“.o" ending "Up _g"2 + _Zardroid «ton Soin yuou kei 08h coma ink auodks andioid : tquout widah ="march~ parent! android ouput. nejant = "match ~ parent! > _L Button . andrd id >"@ sid fbn login” ae “touour width ="wrap .onkn! — i: andre. ‘ “1ououh helgnh .wyap. SARA |e - ondroid *. tech =" login 2 Gert view rear 7 androld a :'@ NO Lea tube 7 ___afdtold \lououh -wiggh <“wrae ron ke ___ondter * ta ueut - neiant ="wpue ton kat— Ci b peat 7 — —_andioid il "@ss'd Let Urome’. 7 ansto! dé: auodh -helant *"wroP-rontent “andiol@ layouk-heiant = "woe - concent” arndyoid « hink = enter wername” andio! d) input TYPE ="Tereb Person ame "1D Creepview andioid Lid '@+/dtkectuiews” android iauguk- width wren ent androtd lauoub nelaht = "“wrae-conkne” andvol da. teat = Enter password) > (Edi Hee android vid="@41d rerrapugd” ' Android *. loupub_width =" ular content” and roi 0. layout. helahk = "wraP-tontent android Hint = “Ener Paliword” andvetd. inmuttufe ="Ireep passevord > Chet view | android id "@Md femioaln Jpespss (> Gandtnl da. combine Lauout . wider. convtrank ta yodt> wre preayom to ocrePh ANd dil plod erbne/ infor maton of yhe ShudeAt- malA acHui by jeu - Parka COM. example Student INFO + “}mporh oindola -aPAomPh. PP a PP coma rACHO! KY wit anayold . content ron Nt Pioui'dl eh client Lmrork android -tes . Mundie impor bh andjosd vie view} tmnor Undid .widgeh. Kd) t Test’ oe mPortr android. wilder. peat view} / | r | i - - : Hpubiic Class main activi ky ede tend? aPPOM Pat 901, fdi hTeah ett,eb2) ee ‘ Texbulew fret) a a zs Mutton pt. ee - ; L@oeide i —Prokcted old on create (Buneie seed EN Stance Stan) - _I¢ ;—_ [Super .0N Crate CJaved TMhene Chater, a + Seb Gon nth Yew (CR -loryouk cr hivity main? i ett: find ew Byrd CR Id- eb NGM - - et 2: Find view bl Bnd view Burd Ce yd.ieh Inomey, [Me find view Quld CRid.sx§Jnomel ML= find view By'd CRIA eh . Phone): Is 5 - publS old pm cick Clevo) . 7 - . " a i Hebrerlergeb segs 7 ~ 1 Tb es sebTexh er? Meee = - : } Nee — _ ———— —______ - ipracHedll vo @ = deyelo? 2 q prodtam jo Implement burton , _Vmed@ burton gnd joyale butto - ee ___l@racrical_veiabeol quetHon . — write a piete of pode ws ser id of the button Bubron "android: lauouk widis ="wrae content” _ andro} Os tauounk helanh Soran -tonkent” _ Andrald >. tech =" SH ind [button reat” android s fo ="@+fdrpuror ld . 2, How © odd imade te reowce Ale? “sos ae Loren dour project in android Jtuolle. |e click on 1D - Pah cick on arovdble JG. citk on snpw ih Explorer S. Pouble ciltK oN drawable foldet [© . coPY Your _jmane Rite {alh 44rname a youve wile. i LiDA feat andjold teqaie€ button conto! - A#Hribure \ondtoid : dlable ‘alpha. : : = 12. andteld 2 hecho F 1 %- OndVOld ! texhod U-andield ! outed. exerde : lwylte oa Plearam Ho create O toggle buNen ke dad _ SF Jonlofe piuteoth on the afzplay sereen, I dindrol dt layout shelahh 2" tro rkns ; a ae To : ‘ y [CRelanve jayouks emit tandyol'd sh MP si Sch emg —Ond reid. com fapX [v% fandrod” LPcminS : foold ="Mtp-. schemas androld. com lage's OC MIN : ool =" HHP etlondroy'd teolf.com” Lonely | endo d, \aueut = width ="'core content” Androl d_! heck = "'8 lyepooth "12 \Ctoaole button i : Androl * layout. wich = "tre? conte” andres a loGcit. helaht "ora? conteny— Andi! Od WO 4101 toga le Bubton’"D £1 Retative layout , Jturlie omerm te Create a Sime ay lalaten. Zac) yetsion ="v.0"! enreding « Mupk ~9!29 Candrel d~uppert. convalnk. COMIN leat - Ami: ordidd =" wes py Schemas andrord. omaklanieit anti d’ Icoyr tolath =" patch. nay ery!” | ee 7 | andistd + lduaus neat = "match. parent” Sool! \ Comer =" main OC Hoi pall, I ftahle Row - —,itdint ds Loti litt "Chop contend 7 Androtd ‘ewat ehefdika! 7 wrap. conten! . = ae Cres vi BOID I d"@yid ( fReruitY n reld luuouh 5 idtb: "ora. con rer?” _ | jd. - " andro} O4oUt —headhk I! Con kre a “Program 4e> “4 implement button __Limane pattem and beagle budton = [proc cal releted quesHon \iwrlte a piece of mde pe isk Id oR He. button _ DiC burton android: lquouk width =. iap-hten” : andtoy + ayouk height ="wraP concn” andro d tteret ="@ring / button, wet!7 android’. td "@4ld [button 11> 2: \How fo add Imane to Fefource plie? | Mopen your piojeck in android studio @ ide on O_Pighb cick on drawable © Alek OM Show jn exePioreh ® Double cilsik on oyowable folder | | 4 QJ Your = ® now write your imaae Rile name afieh @divble/ LISt four andlold tegile_buitoh ontic! cea dMVibuke. 1. ondrold \dligpled 6 irhg- handhold s eactorR a. androld » texton- 16. Gndros 9 : autoTexct . * [ Whe | = Parse | [Unite proaam te tkoke 9 engi IE _DAMon to cli/y | on lof bivetoorh on phe dbpas screen —_|Gree, view Ph eRciotive fayouk 2cmU* android :"hye 11 Schema" H_-@MmfaprinSfandett |eeming » tools ~“nere tte Schemas endrofa . com | | nS? tools =| 1 inint (too =" nee tr gndvold too Conm'/ — 2 t Androld -tavedbs wiolth ="wrdpe. monte” Andiod = Hat =" Bidcioo wy! > Z roaale Button Qndrol A ladoak . teloy = Nekave Gn ret” | Androl d “idyouk Nedahh Nk? tontcnte” Andvoi 4 +} cl -"@iid toggle Putton" > €[Relasjve) : ‘ 2, eHlt€ a Yingrom to cwate a simple celular. DICrem1_ Ce vlen 2\.0 encodings "UFR ~ PLD Candtoid - suppor k. con SNGIMK - | ChaltText _ : - ANArold » lauodk . width ="wrad content!’ AreWojA_' \auout -hejah =eyap -rontent” android "i Pub-TyPe perce > _| Efepttoi ee Cindroid \ \ayodh width :*UAll conten! Android layout height 2" ovdon ter” androld: OP stu? Os “Reged = F i (Ccdth reat ee AndroG : tayouk width 2 eraP-conteAr Anatol A “tayouk height "hah - onkenr” andro a. npubqune =" tect! Crenbuieto andyo! 0 auott* cloth =" wpor con ka” Andto) A leryouk hela hh "ee Conien” Ne ee ees ee ‘| Corfe. A DroAlIM Je crak a jeqin @InJtuden}p - WQUI Syke = $e NAPA -tauouk. helafh -"Ente sud name | Fd} Hor —andieid tayodh + jolth 2"era? conn Adio} A aout -relghk evar. make andjold + | npur The ="Fexeg "DO Garr view Andicld -tquedh -ujath \"ero-con tens” andref ayook_helah 2" tree contre” . andold » inpar Pte 2" number! Cedl bret andlold :tqyodh wid 2 "era? rontenp” adie! 4’. Jayouk - heat :" era? conteny andiold : (AM THe "number's icrextvie’ androjd : tauoot width =" bdpronen” andiold lauouk -welaht :"wrap.conren” andlotd * tech "collage name") 5 nt (4M rad conte” q' —[eedierere | onaia-, layout -he ——- [As [Pr Tye Ne jegtt a — pens BA coin tevin AE cen ad iL “procera NON. develop a program to implement checkbox . Practical telated question. \.) Nome the aif erent eth of crecboe Da) Public boolean ig checkede?: tetuin tye ic bin checved ib) public void setcherkedt>: ChangeS the State oF the Checkhe list di yent attribute of _checkhor - 2} andreid «pack ‘\ wonie to use as Me = “I Ad nt clescriPH \ eR INES keer that briefly describe conter of ie de idewitier (dlangrid :enctick this Ia the nome of the. meitiod_in iat ulew Content fo involve When the view {9 clicked Doanayold: vioibiity +hid contol the imiMol vbipiiity Othe View Sur rN © oe. “android a -Ccheckt Bove ___apsiwid sid = 2@ sid /checor _aingynid \ lowouk width ="unie.con reser — __andvoid = lowout —ineiaht “wrap content’ + : zi = ee android test Angiola" lexcersise = write a. Progr to shot Five _checkbo aces ‘and. “feast. 2eem) Nerslon = ee "ure -@"2> | aemind ae ohsto; eeeEeegE > ongreid com ean Licslangieid’ — — Lonayeid slaupuk-width = match. parent” a | androids iousut-heignt = match - Parenk”” Ne 1 EC 0319 checked) YRS +. VED +O Ae bTedet( Vs else Tf Copa js checkedc)) Te = ye +e bU-gerTexte'» lei E cbs is cheneacd) ae _ Fed eS Atho.gebTescker) - _- eve 7 i ted =" prense Selec the checkhe _ Thos b mokeTeset Caet APP capion conteset 0, eae - [Yeo to sting ¢) ToaS kh LENGTH -16 Mb). Show 0» — Fr r fesiep : [5s = i = I) | a i ee 4 T a ae | - fee ata cn ae : H : | . on a ne i - : f Se Proauct . n enc fee re\d \a\co P os practical fvo 12. develoP_a program te implemen F “Radio Button and Roadie Greue., —————____ “Proctien! related _auessicns — 7 write emi tag to Create a Radio bution __ 73 Coodia Button | android id = @ tid tral omoie" android !\ayout-widhth =" “wrae- conient” | ondinid “oust height = “winp= content! ancrold ‘lau b~ fact = ='@ S+i\n9 LrodiG- mate! andtoid ‘checked ="Hue"’> 2 write phe purpase of gato Button . 3. Andvold _yadle foutttoy jo a widget cbich can have more the vilon to choose Prem & the user Cah Choe only one opHon Lae osime - Each opHon in this yeterS fo a radio button. le aeerclse ——\urlte o pteqrom to Show te ene out pur. Pint |yue Yadlo pitten aye whtnout using yodi6 9/0uP and _neseb |rwo yoda button> are using tod!6 grwe. nore the Chaged between trese jwe. Avo to@t unleh radio burro | nas been velecied. ) txmi ‘version ="1.0" encoding = UbE-@"2) { Langtol ds. con Hain |quout. widaeb ronstaink fayo Ub mind LGndtold =“ tte : [1Schemas. q acireid «comlaP ire android” : andro! d* layout - width ="wrap content"? 7 Lroo'n Button _ : android id S@sidyrl! ; 2 ___angtold-layouk width "evra. wonknt! —_ 7 _andteid Howau Aeignk : "curd P tonne” 7 engtoid: tech :"Radieputtons"> {fs pute. a a _ android: id = (@asid ire” __andtoid * tauou k -wid#h = ‘wrod-content | anamnid: taet "Radio Buttone” a (CoostoGrour H android id = "Gato ne!” : androy'd * “nena width > TepraP ton ienh” 7 andyeid » jd ~"@atd rare") | Let o Busan I anavatd 1d="@ tars” Mh android ‘lousut-width: wr tonknt android \auoub.peiank = turoP- conrent” ahdloid °. rat ="matellS Radio burton andteid id “@rra ive" android «tquovh-twid M2" wyue-tontent”” andtold : tauoat. heicht ="wigP.conknt” android -tect 2" Femare"|> | Ltandyord con sroink layouk.qid saree tonstonh quell) " © A\N Q roouct related | ycieited cic>D Cis) | OfacHcal Wo lU develo? a program to ee lig k yjew tid view image view ond cro viey [racina! yeinted_queavions - sk Q\\_ attributes of imoae yew ~ Manarwi d moaseheight usec to Speci KY g_Mmarcinwwn_heiaNk for ni 9 view YL {© andyo\d smote width on ® ansroid ‘sve ‘© anaynid * Scale type © android «linux. Jwrire Ske: Following srri rid view sera Find! Siting C3 example > new sering CMA ie tela e Ty, pupiic clase malin Acuity esckcnds acHulty IS | Gridview grids | Sr ple Find String (} fet Excerce a poe Worle a preardm te naw she Fon Lape Pridte view for 4ne came. Papi class my acduiky eocten lowing output yse__-+- Se peaecs 1d acHusty {molements _o nciox Lifteer & Suton bry tmaae view iv = queride fi puplic void oncreate | & (Bunale evel lnlioncefan 1 _ | Super oncrere Saved rnviance staked) | Seb @nrcnt view CR-layouk -maind: . [ble cAurtond Find view By id Cid toutton) 4, [wi seb onaer Wr ber Cehis>: [iw :Gmage view) Find view gy Id (Aid @ ny) L® overdde |_pubiis vola_oncick Cuvew vd e Lite Wen) | tw yeh {magemurre(g drawable comer) | 58 =e ; 1 |Z&rm_vetsion 21.6 “en coaing 2" vt l= -8 2 Ltiinear tauour ams anapold ="n M2 [| snes. anaror’a - | ee ntapis ties (anatold |_andyold. tauo uk Lanavotd iaueuk gmlm) : qnoltosd = "We nanema7 apie i! to Handrold ». tayoch.coidt Hy. YMcikcn parent’? - onore fa: lauouk -Nelahk = "mo toms aa rent > : : | Chatreon 7 | Andiola id ="@ Hd ¢ parton’! _ | andyoi a: quou--nelank ="bora. con Rn = I andold rtext= "Orting take tecyt!D — : fc [Pelerd lcmout) > Tain AcHe ry . raya 7 : Limport android -oJ Bundie: . impor & -andros a __| Pun S CAS pct age = - + = 1 iL £ — {| passon bli __1@ overide 4 Proieted Lod om Creare (Bundle Sav el rnthance rite) |_¢ AWfer.onCrate Ciaved tnirance Jto be) “Sebconteniiew CRiiusoub ochyitd main) Jb) (Buble n ACH VEG view By id CR. fo bution)” 5 1 bl ye bondicd iene view vonclikck Win OF : | 1O weryide pawiic void ancilcr Cuiewv : “rou! b-moketoct (main achuikd. pal 9 "TnfS I) reat Moglt [LEnath Lone) chow O55) ae ome No 18. Develope oa program. to imetement rev Activity Using evePrici t ‘INyeNnt and implicit Inrent practical related qusmiion. ‘iot_olfeerent metenda used in iret __ Vaction.main S) ction cal) 2) action . Sick §)_ Aclon- send action -chenser 7) Acton -sendTo ‘J action - oi write dn inteoh tp disPay the phone diaieh cult thegwery Number Fi\\ed jn. ; mmol nAckviry SOW impor andinid coment intent) - Loopy b anslyeld support .V7.crP. REP cam pach pcNvity /, impor b android. view view | Qub\lC clASS malin AcHVity exetends APP comAach AVY € : - | Protected yoid on.cre: ndie TNS te | super oncreateC sove Josrane as : 1 Se! Ar view( RL bivi in) : 1% public yold call Cviewv) | € pole TerehCEdintesct) Rind viewSyTd CRid- edit. Tere) | mash-moxetet (Hi9/"eti wee LENGTH Lois -2 | Snow C9, : = | ur. + Udi, parse Cig ye senentameninginy: — Thtenhis neo TrrentCrnrenk.Scriot -DEAC-0D | : - [AVS £ short Activitatis & - coli Coeuritye aceobon) € Tog Sh.make Peach Céh'S mreweae | Teash LENIN -\on9 Show, ISSS - oh Berivitg maine ee 2A bse auout remit andro s"nssp eli SCHEMAS - ang, a TPP es lancrold”_semin’. reole =n tft oma5 _ “TL ~-—_lanare tas § Id tontaine” — Z ss | + " 7 , — | ansroid viouous.ulith «meio mipen = : | Nauouh -helgnt =!" match = Parent! = 7 tech contens -"tom Sarul. exeld _ ae IZ gai tte > tt Ondroldu d \@id redit Teas"! 7 i ANOYOIG_: quod Kecwiath =“@ord. content” aa ONdrold !iguout-helehk ="wran conpenk” a fl Android ms ='ele> TT C Butt) _ oo Gndrojd tid = @sid purton” _ — aNd ro! “tquou h~ width ~“wran.conrent” a a Anowor'h: lye hel gn “torus comens” a a 4 (Apsoiwteragoutd — = yrain Scivite save _— package coh "Spat adobe = a import andre/d-cpP.artivird : —_— import andioid ape Awion . 7 ae | {waport andyold.deP. Fragment L limeorh androld .a#?.conent Innny. ab — Thm poor andig Id» OPP-nek urs — Thm port: android .or. puncite oe 7 fimeort—anareldviee.touoet - i ao c andre} of. Oa vie pend _ = ——yiners Andrord -vi ew view erouD a —" mport= android . view. Wew o — [Ltn __ [Burton bly . __ Rol bTeveb et, | @uerriee protected veld Oncredie. COundie_sarins race Sra tert + | SAY per con yea Cyaved fnpunde) bie Court 0nd fin drew: By'd CRI Fel -C fal peek) Fina new By i'd oR -fd-% pie On citk Uren) € @override _ pubic vot t on chicv CU\ ew ayo) le AKANE = new Tare CInt]enk AMon > S535 SY) elu h9< mol n aemt =| Cineor iauouk in androld ="nrrenisnemds gndtold.cm Tey FEMS fools <"AHOLlIsch ema S-androld. com (roo + androld tid = "@ardtrontrarne ” : android:tqy out width match arent! > android slouou A height =" mii Mth «sar ent’ | andre! orlentaH'on =“ porlzontat! . - H , ° | 015+ fanote: me gekos ttramd —__{Laurton = | AndVvoid: id @idthutton)’ ONO que wh wi dh -"Uotap ontaAk” ———|androld: quod b heigh k= Garep_contan’ —_|__ ANd roto tack = "reuyall 7 | CRIN Tens Anatol Avich SO id tegitroa!" ONDA: lauow b-widsh mah mare Londres d jqueut “hetgnt :* wraPcontcat! ” | andiei0 few: "16" a foecis teat CASH A | anarnids jd 1@ fh ainion” : [Super onciearers 2000 ialtance sorte) android ® lauouh width ="urap contew'” : i ! A Nato) d. IAUOdt -Nefgnks wren comtt” i Malin activisy .J0vd - import angrotd ope. aqlut y Anno rb andrer’d a 2p ccc Honnelt i & Id. ae. arpuingmen 4 : i i y (ors aneroy dO. Wee, menu ', Tenor angrad vigemnenu arg: || PUTS OH painachul ty. eens: | Wcwulty @ buttonvi: B over ide || PrOtcied told onctric Cound SOUR 0 In Mute) Int 2 Churtonres ndue hy) d f Id. KI0-fura AY, | On CUCK Use Cray oer <> ———____ patter Cview org) : ovale. _ I { erocuic Nort ower a a prearam ram te | imeems tyactical reloted quesHons. i) difference hee” achvitd « predating inner. 3 -Aceiults iabent * Bredeindintent. ardroldinien’ {5 the mevede___byed ung inten rarer mene “Tanatts Pallied e+? comPone —_byuhich an INA can be — pitt acNvuinesconrent iyued Fok COMUmpH’OA by | Provid © picodeuk kevetlyervice MW Hae cumponentcrn onoboll. €} |i¥Sgenerelty wedullh ahh geadash |ntnks are delivered Lactul he method. teinvolce Wind rend bread ykriob Lactivity _Hejoited method - 4 = Ea tre ok two types ent Heke AK 3W0 t42€ OF binaday/t = © @imod jaar OJ siren taoad cash sn tent @ expilclh VAteAL Own hiod wh (niens. 2} drow neadawh receiver ileecytie. \d S| servicer andrid Sy kin > en Recalvey” | hinadcavk Keejver In He ating SY WA phe Su)KM event yc raredt to bined cad. 2 Homiofd Intent acto. BATTERY. Chanacd 12) ancteld nth acon. Batre ~ Low SVandrerd }nkAt acon .QAITRET ~ Okay |W} andre (0. jini. acon .thoo rt . comaleTeD SV anarold intenk cction Bus RE PoRT | 63 anareld. ink. acon CEN —_Zlandroid jnicnt action Cail Button — 18) nari | nkenb.achen DATE ~Choners” (9 andre! ain teak, acHon ReDeer: faerie - Oloctivins. mala an) jodnent Youglh & m) to ="ntt0 1 Schenas cnt - rp eenatosat UE tool =" na4os: MthemaS. dnd told « mi py | andrea. = width maton - paren k” L Ub emai nAckivi —~ ataitold' — | 21 Linea bicrjouk) | imainawiigs dua. + Pacwone COB. SHUM bord count reclevetolemno | : { \mport androla. cp 2. ompat app so PeomP + ACHeI AY” =. PUNITC class majnpetuity etn 9d B22 com fab Adis £22 ‘ _pracect! VO 22 _peveloP Program ts implemen sensors. : =— practice -yelated guesHonS “irsne nest pracsices ror ocesing and ana xtiel/ > Dberor © Wing the ven Serr -or dinate Si/tem CH RIP “ine. defaulk ertentation made of Me dt J qeeS . Tha check He Gudiab) tity rae minimum ,delays KforHng 7 modes 4 LLinedimlayouk > | \mnors androl 4. conten. [Arent LUM Por ahdrotd pinvlder. medta [ _imporh andre . view. vireo ’ = | \mpor + androfd_vleemend Limpor® androfd ole menupit a Lim@okh cnarefd efdaek Button ee jm fot android twldger Nmade __ oe Compak Baise abl Tanna alto — burton Bl, © {made Uren Joly protestant C Feit ee ck) eee cue mide 7 pio rected cold on Sreare (Rubio sa eel Jv dante pte “eupehon create Cae ed jnihont Cob ronbyl Ok layout hj eCbubton Find plew Dy/ ACR td a Fi lima deve Sind yiew WFO timgae vf *) pb) Jet ONCUERCVHNS [new oh cics (bener ) _ @ over ide. : pupllc void oncick cl aw Ipgnk fa new inked+ (mec le Fos) Tos | prorot to 23 - —— Practica! telated ouesHons. ———_— Wk ON Ine methods fo camera cial. = | Sratt owsivl ba por resait Cin kns Itt Je LEON It toe - 1 handle opHo ned _. to . 2) Starpoctul ks Frm child CAcu/AY anid rin tens Re RK 2\ihart acHul 9 Pom ehtid Cony’ ky ond inrers) . I} sah ocelul 49 Pam Erda ment (éraamen & Ha meny fee] —. IN RAK inten tay oleudelh code). AT “. 2) explain she methool thot | J ded fo detech ye aan D1LPUNMC fate peicior CIAL width Jat helanr inp mrcocluel) a | Crore o Rate dehector , CONF ldured with ye size of _ | He |mase to pe gndlzedk £ He jmardmum Dumper oF | fares hak can De detected He/e Paramekn Cannot de Lchanued Once te ob Sets I/ conirusbey a exertl/e- PAMOVS com. pavrh -ek2nI1° import andtoy'd. conkent Jatavh Umpor b androld. piu ptoota, b4eteosh Hmport gndtofd wiew ley + [impor b cindroyd.ul-e: mend - “hmpor & aadrord 1A. wens rem _ Arofert androfd . wide. hugo. [Import androtd stwldoer . button . tm por + pave st ek? “pup cial’ matnooduite extend a ph compar acHvi ty } | bubton bicb2 1b3bW, as, Tplvale set Coweetoosh nett name / - @ cetyid ©- Protected peid ONcreare CByuhdle Javed. “InJrance na Super. on Create Cabed tN) ne sare), sek CAKE EW Cs. layouk.ocHul EY me bo = hiv ehooth Adapteh et Nefaulh Ada PI [bi 2 CoUHton) ¥ind view Byrd Ck-1d button | pr rset On UCK U)KANeH CNew Ule@ - onciids Gengne _@® override | Quay vol d onciick Cuiee@l) ThRAK A= new TAKALCMUSboolh’ -acqprh PCHon-reqye) |_tar hh aip4 for Rewit(a,o) > : | eo conicAb=! matin ocriu/ b> | Cyenrul ew | anaretchy ol ="'@ + (dtpuron” | _andvev'ar Iauodb~ wll th = 2lwrapconkn” t Andro ld '. \adour ~ Whelan t~ Tevanlonrent” andyo th" jabs"! Blu fooHW/O Ctubtsn Ona rot On fol:"@ tid purron z Onde 1d Nauott tw fA = “ora? cont’ Landed’ byoup-heladh “ran conn ander ds seh Sulive #1 > 1 CDurren Android id *@rid Ina hen 0” Andwid \aueuh width 2"erdN_ cone” aNdiotd *tauedk heldAk Mura cont” LL andlin ds Ab I Device/lO Ctl fned teu ued _ 4 PraCHcd ND 24. pevelor i) DracHco\ related_aueron — _ aprejjam feb arcvidlag RONVE jHe_Mether® which cor _yled fe enghle Nel_di'Yable piueteo + adapt [eiesled | enguyeey eee eee ene eee [2 - honlean dvanierd — 1 explatn sic. purPoSe of aCHon. request a £ > Dlacton requeft_diewerable combat fs wed Kory ce on dl scouring of blutoosh - cn AK ue ules of Jetname Cattind nam CD m-etyod. sale ~Siek He Friendly nidettolh name of de Tocal_niyetooth adapter : . + Va nome ty Liible to umole piererh cleuice! eee li _ xerclle. : a TT D/ Chm version "0 “encoding \'ore- 8" ay a — Cllngar taucat auini *. andtoid 2" nitpin) schemas, angio cof 7 \opk 1S andyold Amba ‘tools! n yO. M5 ch end gndboid —— ae andiold * opientdad 2 'eorey a andie ld \ \auodt elas s"maro foun - ee gritos \lauout -pelant =" meta ~ parene soot | Ger tot ~") ma fr BeHo/ bey "S i | Chute ' 7 — | antioia: (4"@siathuston | | _qndtold svouour eutdth :"ovaP conmne” . _andkofd’ luo. nelatir s"skanconpny? | fl CBee aries 1 made Viet . —_andyold sid ='@ id ima” andtold ‘)ayou &. cicth_="mertah -7°07 andro! d * tauqut -helanb ="'3-la0/7 coo : {Comaact =" WSF ume lau Fat CHIN €0F lao Sport android + Contcht- [NkAt imyort cindtoid . provider.med/ 2 import Ondrej d view .uiee_ nto anarol 4 ~ui eu Meany “Ting arotold . vem gu TR {mnolt+ _oneWof a view -Ourfon- CAPR COMMA ect bisd E puttonbly ‘ Smo h@ of te (oy pylodk gaye eiads jar 0) 1D @ wand? proted yofA on crate. Cutten eas ate jrate = bl ~Chuttoa)d And view Bufd/& yd Wt= Cimage view) Aina py) & Mulia timaae) @ over ha publlS vofd onci(k view InimN\k fa n-eu (tH a 4-4 Practica’ two ‘oo 26.- perform ARINC aM ring Joti fe : = —_lpnericot_tetnted auestions Dist the posic methoda wed in an_android . ASgnc Tas Coss . : Dt. doln PocRaround 6) % on Postfaecur ec) ____ll2. onpye Exeatecd __@ on Proghessupdatec) 2! Difference_bes” ASYNcTASK 4 services | Boync Tost er vices, Vn posnctase isan \ntellgen + service) 15 ike an Activityng Lvead shat i advised tobe no use interface probably used . TNtelijaenk fe ik \£ yo want to fetch te Can hel with 14'S metheds weather for exeam ple uey Yaa Findn ur Heads cunich woh crate g blan& ocuvi! a As good to _updlote ot co eV E rite +S jou_w/ thoes ‘home sre_me ined used if a process takes a tong Hime toed | wore? : Oh Restart'c) method jo used IR a Pipress tages 4/0 Hime to do 139 wore. im Vb Lexercle. | Clineat layout zemins’. ondtoid "nit. | Schemos id. KS Landreid” android lausut. wi ny’ android § ouout height = ‘match, parent” androids orientation = mer Heat! | |L Rxview andre {0 s1o.ued wrcikh ..rapcen kak” anoroid: id ="@sig 1! __ odin! quo t. neigh “Wrap -content” —__andbojd : tet =" wame! (> “Legit beac ’ apdyoid * id s"@idiet” android < \quowb width >"wrap. content andioid ° laucut . peignt yrad content” android. em ~''10" > LL Tevet view _L andyid id = @-sid 1 ee 7 Andoid™ quod k-wid4h ="ey ya? content andyold auout -rslanh =" wrgP-Conenh | androtd ». reset 2 surname > \mPor t_andtoid od Bundle +" 7 17 PP pabite cass main Activird Psetends Bee Corn Par Activiv. Datamse ah, ~—|___Butren bizb2: 7 Esl vere 24 e213) : @ override Vol abet Bund le saved — per -oncrecHec saved EM tohsic Ic) oH 2 t CongiiqyiewC A Wovout .ocriv) by mai nd. : my Ob= new Datobast eper Cthis)) _ bl = (Button) ondview byid .id bul), b2 ~ (Button) ¢/nd WwienBuldC eid bd, et ~UButton DANG view Byid Ceid -buby 22 = Raitt) Fing view by/d CR: ©3)7 Paid da tac, view pycy, s papiic void Add Datac) Ebi Seronc VK 1 ishen Feacneu, Weuw ON CICK U/n ay) a | super i - | Seg bet. mrake jock Cmai aAcHvi te « Pride nob inder bea, i Yoo SL-LENGTH Need Iss Soe Datonfenner- a ~ _Pamage com. Shry’ dg robwe aeme: — i mocre Qnarold.conbent. Ay Pubitc Class Natyparesper esctnd” Jgifle © Pen ReeSp oo | 2 | public ate Rint Sarina | tolts gan” QUbItC Sage Aina srrlnd cot-2 » “neme’” ae Qa stay'e Final. Pring cold! ——— Fr Wer ClOnkah para bale ~name nae), ~ fs . ~ | Pabiic veld onctatecsuttte aaa base db) F Ah execA(C" crate fabiel «tapiesnamnes"cnn ra taer, PREMBRYS ies Aad tlarment 23; = fubilc_vetd onuparade Cate patabae dp = Link oldest Ob -cresar nie 7 Onekate Cab: ss PAI boolean 7 InJett peta Corina nom DSN ot atnane ting man) GMETE exh S + able — named CON AE Votucy CV= New ... CONKNE Un\ued CV, cio) + an N © ained related vee, C2s mrachicol WO 27 cheat sample qPPiicavon with login mectt!l2 “ cehec® UNTHAME ONG pagsupra don CUCeVEA) Jogi Chanae Tyexwiee “login suctefy'" and on toain fall” tegin fail a “ gocticil reiated question! oa : Explain the use of enuailc> function : D-ewauc) test ahemner TWO SHING hwe He Same Zaqiy a "= The =: Oerare Checks fe See jk twe obs echS GE eel CHM Jame obiect oye He Important Functions unicn oc Yetoted to Ger = Ue component Hutton z Ajandtold button arc ancora Goo oMPonNtS exh} Qk Sens? to the hy the ule - tl aen Be leh taps an android button [nah andtoi do“ can respend fo He jsp. —~_ 4. nate the ueS of toast mettage - ~~ 4 toa/b provides simple Feedback abou fF en opsyat!'Or 7 Tn aJmall PoplP it ond Filld He amount toe SPacc ~ requifed fer tne mesfage < me current acHivi HY ~__yemains vuipte 4 InteracHve mash! aU romottically = — ere iSk- Si fo YOOS com. Mapth- ex M27” Li mpor andre ldo $-Bundie. 4% —L Pubic cso main Activity erctinaSs ArecmePa Eadltlekt uname ; pwd; Burton ogi A) — ‘bbiWondier po © wervise Prokcted void on ciate Chunale Sov 2dZy tacHuity fone pak Sup eh.on create Caved rnhance spar e)- Se hosnknt view. Iquouk .cetivi PS - main)’ _Uname =Chal Rech Dd yiee py pd Cele ay powd = (ath Temes) panduiec utd tk Id et), _ogiin. set Oncrier ener ( Chew View on cite ite C) ~ pune ong navick Culeco vd - iia Rome = uname.aetTeeb. to Mined : Sting Mlword = plu aerteckO). fosM/nels id nd id z check Ur crew _urehCrame rrosiord) ls {eC ee +__1& teaft . makeText Cmainnetul ty 4/5, - Suter pee Not List rer Sh LEATH okt) Siovet ) _ eve _ é wash. make Tex tE morn BHuing LHS hg Yoni Sacrel/ta! Toa Jena Mort), Show > Toe fe gers ] cactivits =marindeon ~ | _CNinegtloyout amin .oneireta "nites Schemas. ONdta'd com kip Iref/anaro ld ONO TON 1 QUOUK « CID =” rein ~ perp ent” Andtolel * loyouk .nelght >” math. fo pene” andrea" orient” ver tyeaf!) | “L Teahoiew : cindrold tol @ arate” andieid \taqouk cid th GoD penta’ android \eyouts helahhe" rah content’ eS “pose? on - idvid "@ridrerl’ OO pnd tol vouch ewidth =" ‘ura conta/t 4 nomid .touput-neight ="war content” andoid . ei" 0" D TV ppext ujeW 7 androld - id = ‘@uio” andord’ tayout ~ width = “curap 0A k/v" andiold : Ayouk- nein: wraP - conrnt” ANdfer Oh. tock 2! Juyvgmel> [(édliTex android :'@ald lec” andwdfauouk width =" wep. woneni” ayBield : layout helghk > “wrap content” ape dems 0G ieBustor —anomiarid Gsiatn” ~~ ANGIpi d \ tayou R-width + Tuyae Conkeat ~—~—andfef dt tayo he heignts) "wrap conrn” ~~|__andreiel sem 2900 oa r4")D C button : Onde! did ="@+I0 Ib C” Andro’d : tqyodhtoiolth_:"wyaP-ronte* Adio! * auoUk . height >"«evaP —ton rAt ~—undioia Lect ole wD “S1CUUngat lauout > | Plackical No 28 Checte login applica Whee You yj) have to validate ufername ord password HI! He I ‘Wetrame Ohd_posse io rob volbake, ogiN button ==) bx plain valtgation © F wer Tnpark Tnput vovidotion e\iminated re error tho. Kean Deobn bs_wer Une giving. \npuk to ape For eOs ifwe > wank to aet He. leh email we can check #2 ehkr ed emal! | 4s Q VONIO or. rok befeve Stoding Tp Inside Me Ca tala, 2, WR and “explains vevtiog S Gor commnenkS died to * desfan - ~Y) tad # Tech é - = cdl bch Ls @ sandor 0 entry culdaeh in ondterdope jk | tS. qn ovctly quer kextview thak oon Naver IERIE tobe ~ yalloakl oft ech IN Such @ qucry thok PR COMMAS OF Onl lebih yak No numper vale - 2) huts NI. - =Surros komen a pwh “batten « 1S PWh_hupten con ne - | clicked or Prefed bs He_ UIeh fe perform an action ~Afich button Sch @/ = feagle ation tous RIND? 4 leigtermce bet” #ereh view & editveny . _Teect view Fdlbect J peetview ls wed when FOI Heack 1 used cbeh tke text pre tach AISPlayed jt __diiplaued LU mihicch tochon® be coniienk ame faerie latch i trom He ape 2 Ae ciew alt te dieay Teck) ued fey wth kn he tf not coltaple apn. Z){neak layout ain: andeld = “tr ICheEmaS. Anapoid, __tom copisirestangreid” _ ee Temin ap = "nes: (eschema & android com (PP “Ta noror d * auc. fauou t width “match paren “| andtot d \ayo Uh - =heignh: " mepen par AEM 2 androld - orientation ~! ‘erica’ oo Dextuiew : ondyeid ii a= ‘@xid [rer view” | pocKag © com. Sir Hh .cie 29 - oP. | r “Temesicar 0 No 2 029. | Devereo o_ program rs a). send sms = bd Receive sm | Orcicly col reteiteat quesHon = — | <3cplor " a are oF sms manacier COL! ie tek erennrn a abject F ba canting Hehou's petted. tre orate an INponte oF Sms MGhag-e ALocke to WM a SpedRile sabsri~Hon tO cole ets’. | mrs Jk chandel tha oie need tp bea done i anore’d mmanlfeJk xmt Rie rs Send ond kcelve mesaae a |Dadd permioron £ crate a broadah Kcejve (2) Impiews On kee 20 merred Dpan pe gph & fend Ye mesage 1. — 2rerce- | Package _com «fh <2 eeP29) | ‘import android @S Aundler) __| Parole _class_marn NASI. en nal APO OP compas ictiuil |e fil Text ef, €2) Satan bY, : | Bevewbe 7 _ Porcchd void on Crake Cfunate Sard infarre spade | Jur onCratcraved tn ftqne© Sha ted; See fontnt Lew 0p. layout . OtHeiny malin, Edit Terr) Kind view Byid re. 1a. it rare e2 ~(Edit rans Find Kew fy ldC Lid. CaltTenne) = Chubten Hind bi iba dc Ry hutton)) bu SeEONK Cidtnd CNRvvi ew onclickumMe (1 E Jacerrid® : jphC a elmr—~—COCOCOCi«szCN sein Aum ~e\ gerTextd, to Hing HIND OVS = €2 get Tec) sop “| invent Lenew iNinh Cae PPkahan conte-ch. malar AOUNSIAKAH A Pending TNKAt - act Aci Catt A PAlicaHon CON KKH 10,/2 07 sm $ Mangaer Sms ~JmImohaweh get Oeraultcy | Legit each andwid Id = Oia cdl trex (1" ~ | andinid * toupat width "ora? content’ andjid *. layouk Height <"evue conrnt” | andwid 1 kb = numpe andyoid ems 2"10"O Ce aview | gndrord jd “Ged (reatview” | andieid * lavoupegjath>urar - conn” ——|__andind_Heout —helaMt "ya content? Gnade id. tect = “metaue "D CEdIt pea apdloldid:@ta fealr text” aNd Weld stauouk - width =! orad—con mt” Andlold' layout - height -"ergn— co an ~~ andlota + tear x" message haven” oS Landroia ta: “@ sid (hurton) 7 Ando d! auoud ja th = "eh con eA Ces __andigtd®, Vaugit helgntVesraP-con ie" — Andina? teat end’) : Sp hn our) | 4 Pracu'cet 3O. ——Procical yelotea quefom- : ® SUikwe nwe an Inbylth emalt Mmeoule i+ hetomer Ledler 4 Fasien do Send most tater that pale row si fo emal) website Wen loagiNd in into _ t — wt _ ae acHon send 6) EXTRA -SuBIE oc | lester, ce 3 Carp. TER [47 extea.ce 6) RamA TENE / | D _BRTRA ~EMAIL 3) RSTRA - erMl Ted || exerci Je = [package com > Parin. exP3o’, 7 import andisid os Bundles» LguwilS clas! main Acuity extends “RED COMPA. Pron e i= | Button bly {eee COUHDAY ind WV ee DaRd Ch. ds churros Ith ON CHK LIEN Cree Vicon cy'KOY | @ cvriidee a - | | pubifc. Void oneiitk (view v%) - : ee TAHAF Te new inkok Cinknt . SCHON. Pend vn a \inedh Ido Emin angola "ner? =! Sdhemd.com lapis - cl A! ONL =" NEDP“S thas panwesd [or re! “andioth “louou baw jelth =" moron ~ pune” yo! *.aypuh -helant ="Match ~acnt” peo 1S". coA ten =''moainachol ty) - _thutten Andro fa :"@ sd Chutton'” Melo Layouh~ wid :"eraP eeaHA” Andior'd ayoats neat "wrap conta andro’ pabs''senn")) CiLinedr layout) 8, Procteal | Teed velba n - an piu thea ino 74- eee —__ Wnermay ft) Habra Bsa tenj te Gd pemarr | $4none- vie, L MOP . add make S (new mavk & 2 OPH sn). Pos Hon Clyne! aiyy drt eC mak i'n [ynda ney), MM oan. move Comera Crumee un date tye tatad Cyndy )- 5 a | CHAS nome =" deogte —mapJ-Ked” KMMdte were SHakraq a"pre Sewre? praMigianie < "Fale" your _jeeo-Hex Oydletd Matta Fe i& . xml > LCmoclter— amin cin ret A = hp OST omar | onaoid M Lal InS (Oriol. . : x ——— wes aS vactOS 4" qndiol 4. perninon .aqel-riat- _localyion (> - Late ~ paimwldA_andia!’d “nome "apdrld perliy/on _awes) wer works -f a e'0> ' _ Cars pet miWiON anorsi'el s pame s"ancro’? peor" D _ Copicats'on Addto!O Lwilow Pad. vue Andyoi.d»\'con 2'@ mi PmaR (G02 nym e~ Ondo A Hume = “BJrule (as Hone’ D : Crea datd- anarera nome ="cam- ceegle sangrord: wee ALLEY” ane & A On oF reiaied \cred C25 ee feat sof pracwica\ no 32 tent (me cleplou maPhaltd aypilccitton -Praceat relate aue/Her- (explain phe wall to od market Dqeeale mir cil mar ere net -mai7ke Ames Squad), | Oaecate mat - cuarnarker (new alier ophten/ : | PalHON (ofa okuln ri ida, | 4) ceoale maf + cried mayk es (ner meri eh ¢ ophiel) Won He Beoal *man oh op HON Posi sion ( |e positon Doere a : « Moy » form Be jeuree a — “Pav becican embed comAal, Puplic volt diane, coma, t exec. | 1 > Pakage Com . Yank: mas impo ht Andidla. 0S bunate «!, 7 “papyie Clad ynapLactol iy erin Fragment AcHurrs imelemennt on Praphedd | Pphivate Google map ead Col rie [Egat ns iPro recta vold_oncicak (Buna fe favea ENON take) aes son crtdlFe C Javed Tiikance J | arte) | 1 Fee Combet ul CO (8 fayocyh - ac jol td -mgpl) | SGP fort MaP Frag ah pop » phy ppork nae yn) ay yer Juppolt Fragment Manan). Line Frogmeayny lo (eld nap, po Pftoamenr getmap ANC MIE moe ide _ pub's wld Gn maP Ready (Gogle mei qpoaleman) £ man -gooa emf + (aH{N4 P¥\ = new Lan'aa(-rq (fe Man -Add meik-eh (new Mraiser EpHon/™) poslionciindey) yne (makeh In und ¥11)- mad Pm ovCamera (camera uklte Facto r¥ newlaNMY’ zs » Procrigas 10 (> _ | Deverep a proarom ro Create an acHVy) bY 4lPrctical related questions “yer the octlvity fe cycle dlagram?. rh - a Grae) a | aiviyy gee navidat entire acti Hr = Sethe - ; SOMES INFO NS eS tency — = \ Foreeyound _ ioe - ! — s } ASceacRo tt sJeWe +e Nerarcnd oEdiectory Seycruye unere activins €\We. > Aratoid — Lsoee — - : Ls gavo f Lin mein Activity. BOY Store Aurive difference petween onJroP cy € ondesrtoy cD MernodS ,alse bet” on pay eC) £ onkesumecd metro. a en Sop On _pestroyO _ __Joied winen she activity is Find call before activity | Io longe yi sible to the UE destroued » —tnewoctivity ia neing stor yer noviaate pack tm previou/ On ercloring ene ie brought ACHVIbS oF Cnt quraton In front of this ane oF Changes: : +15 one _is being destorued —2] operat CHuIbY ip Einioh oF sytem lends weiant For an pve’ Lodsstraing In to swe Sea ~ALalle nen WE ed when acrivity «| \Wutart_ - ~—Keuse o previous acelults IMeVoc ring With User _ -Athe coviving to earty crite Aas moved mtoPoF —Misibie bat user isnauind the actives Sharp ~ Ayu a ‘iN y Stele USE to Comm +t tart accep ting user input, “site. sree aningtion nA éanashing See OL convames resOUNeS Bo —— ABSoVEd_ changes to preident = — proctinan 8 ae Oo ____ Ideverop e aerneam ts te mnekmsnt. DEA ACHVIEY Wing —_ eacp\eitp tngent ict ~ _A/Practloal related questions ae D \sh different mesneds used in tnient? eee > ‘o Aection- main GB Acton ~ pick @ Action chooser ® Action -dia} © Acion-cars |© Action send 4 Action - Send To . i write q intent te display the Phno didlak with snegive Loumber Ried tn. D|pmoin Activity gava \mport android .contmb-intents Amportandroid support v%-aep Aree comact Activists. L\mporh andro \d.o% . Bundle! ravers androld. view. view! [public clase malin AcHulry eretends Aee eee Pravlss 7 a __[Prorected_void_on create punde caved | intonsessl lcupper on create Crave instance shite)» cee CoML view CR layout | acHvity ma = vold caliCuiewv> te ____—_———____,______ T€ore Teac = Lest wteect’S Aind view Bu talce feral, > made TerchCinis ‘ciened room LENGTH Long ) Tue sodt. @ISCC Yer" Ue gebText CO) to string c1d 4 Trent {a new TnrentCrorenr Action -ntal-Vd- ee 7 fork ACK)", By caych C Security Fse PeHon/) | Yous mare Text Crni'd 1S. message 1 toast LENGTH Lone J, Showy 1 Sess [ , | Bacerci se - twa © to Create Aterzt Fleid and a button navigate her ~_ You Cnicr"www aogle om and pris naviqdate button it Jhoulg Open QooNe Page 2 BCA = math meen. = 129 bioure (quoul remins * id “prt Pi Schemas’ androtd. amin resis AppLIChema.S: androfd. com [4o01-5! ~—~Landiola 1d :"@+ id peontaine” ~~ Ondroid tlayouk = twidtth =" mash -paront” Fadi Tevet rane jo "@aid teal} Text! So ORGYOID lauout -Wwidth = “wre. vonteny! 2nd id Ha yout Weight “wrap £09 KAM” Android sens = Wy> LV Bbsoiure agoudd -_anvald.id « 2"@aid (buttont!) andtold \ayoutuidth ="wraP content” Pert eau > Mat n~AcHulsy.sova pARAge CoM chimay-acts 3 \mmport angrova , ap. acHvits Aw port andwid apm. gerionbar) import androla. ap Fragments AUyoab— helah te wraP-content) - (mport androla . content -iienk} \i\Mor+ gndrod . nerve} A\mPort Gndro\d .6%-bunale} Am port androld Utew layoub In pure M fort andvold . yiausmenu y rport andyo|d view. nena (inports ondreid vit menu tiem) Amporh andvoid ui ey meni ew’ ___Am fort ondvold view view: yvouP - AmQorr andyald tutdaeb fdlh bexe Ayndorr android widaet bupoh. (mvort andim!d © D.nuiias Ammport anatold activity eins acibiny [Oatton bi; _| Bath jeachets Io ater [per on Create Goved jnjranwe sek con bent ulew SCP .IquouD = (Button) gind view AytdcePdd Tel = COdit Text) And view ytd CR.jd ed) Ty vaet ONciick (ener Chew view on cfc UHR O Tenses SWAP to ocate button rat Oidlod’ ‘hey a clas ON Hhi” J ~_thustor te Shourd open ne prone diaieh . — DLochVi43 = maln - xen —_[Lilnear\auoub sem tnt andvoid ="ntre: I Schemas gndrotd.com - Lop. (res Cana tole” __rntins ' too Atte! Livenemas and foid tom (bool ” andvotd: ta -"@atd leontaina” —_lanovor'd ' \oy 00} -width =" matcn—pant” —~__LArayot d LweHon =" Notizonral ” ~—tootS tanore -'\ mers Rotram ~~— Lutter andyoid id -'@ Ld tputon ~~_and vor’ layou b_wid th =" Soya convent \_ondyol ds lauowt -neiant =wrat content STppahaias scack > Seayen" f What reser ~—~andiola . id 2"@atid ledl eTevet/ ~~ Android sauou bh width =''moaron paront” Kong yoid logout -heignt -"wrap content” Android. ens t0 Me & Foust ] Aca Couto ——anoveta v9 Stas id tauren” ~~ Wand rol d= jauouk-wid th ="covap = content!” I a ' ale a _anae!d: (auea b_helght2"wraP=4 ontent “android. ems Ci\inewk | Lb a “pata Noone: peveloM 2 PYCaraM for animation. a pratt! Relared questiony Gurl te JireS to perform +een animation (1 p_anayod & _Ocreate He SKA Shap @ byawable fe He JUD Shae Atdwhy be ~_ Ckate He Glass Shane drawable GB induie He dyawabie nme (aquodk BdeFiNne He Jin Roe pnimahion . © ope\3 Pe animation ® WA 4 Wok animarbon popen oY Start on android Project = Mexpain He ule of Prom xcocule and from y see | od In derail? 2 Bom kserje +. SrorHing « size ore Bom asce parting Je Fre , NS A U’CTCSZ "CC Here is the modified code of res/layout/activity_main.xml. « android: layout) widt! rap content" android: layout _height="wrap_content" android: text="Alent Dialog" android: id=) @+id/textViel" android: textSize="30dp" android: layout_alignParentTop= true" android: layout_centerHorizontal="true" /> sInageViow android: layout_width="wrap_content" “wrap_content™ android: sre="@drawable/indext" android: Layout_below="@+id/textView2" android: layout _ajjgnRight="@+id/textView2" android: layout_glignbnd="@+id/textView2" android: layout_alignbeft="@+1d/textView' android: layout _alignStart:

You might also like