Android

- Android fSff l:®ltl F?|J 4 »*>4flÄ, •¿'ffl^WJii.

• Broadcast Intent Receiver.

ft Android JSRMÜlW—^ XML «W AndroidManifest.xmh frä^lfcfr'RÜZ.

-t-iS^MÜW AndroidManifest.xml if«»—««»ßSj^ÄWÄii.

6.2.1 Activity

Activity TTttffftffJfctiSSflto*«*. feÄ Android 4 Android ffl

+ . Activity -«MtfclMilS*» -W. inÄffi^tttkff-^WMi». Activity ttffi Vi 1- -tRM. it Activity ÄinnTW^JP ® View, ^IWWiMSS View ßfc \Htß, iE Activity "Vt1 SIWÜsAP Button Ä*. sic# Check box %. nJW#SJ Activity WM^in M Mlttfti&ffillS^'fel. -Jft t Android a/Ufii^ Activity gMSffl. Activity ¿|hJilJ lU

Jitij'-Hl 'i.Sms Hill. fö b 7 Button föM/u, njft^^H^iJKft» Activiy. ftMMKttffitttfl

Activity ¿WMilfcinsrt&fil5!®. Win, JA Activiy A Activiy B.

Activiy B isffiSAWWfil. W»m^ Activity A »ff««iRi?Wttfi« "17/fi 7.

Android

Activity fift Android «statfii^W. £Ifef1 fI lLW<fe Affl8H, W't'tt -^ife, i£fj\ ffi aw a-jsazfr -r Activity m.-fomm. r wf Activity -»m ii-wamu

Intent ill Intent Filters

-A-aSMiTtb fffl • K Intent ill Intent Filters W Intent ffi Android h'ylHJ111

¿4ill f'SW.rt Android W'fi'/j API A*i5 1, *t Intent An Intent is an abstract description of an operation to be performed., Intent .

Intent ^aiWft="IIJ fj" 3 ft. ««£ jS tt & -/S HSHfJ.Otidtt«*^ > tiiii

M'ft'lfJW Intent Wftvfflo jfflil Intent ffliff] nJWfr:^^ Activity Z M XitfoVi . Intent 'ItffllflaMHI Intent ft (Action) fit(Data). MAIN

< Activity ftjf JD, VIEW > PICK, EDITS?. iflJ ft MM. W fit WJ W URI W »ii f 7 31/j*. Win, «fifiX t VIEW w Intent, • t £

^tAfi URIo

MM Intent ilit'fWiittr Activity Activity SfeftWiW. -fMJAMff - h".

IfxSWW^ Activity, Activity A. >j Activy B. R{i'5i«J K0Pr<:

I Intent in = new Intent{A.this, B.class); s t a rtActivity(in);

Activiy A WMM T Activity Bo Lj Intent Intent Filters. ftllIntent ->Hr&i—^ Intent Filters WJ

MJT'ifflifi ^ Activity (»XV« Intent Receiver) ffi&Vkftm** Intent. —t Activity *niRKAU< t iiBSj^W • t Intent Filters, iAt Intent Filters ¿jcbfl! VIEW fll t AW IJRIo Intent Filter AndroidManifcst.xml »I"Vi£ A.

6.2.2 Broadcast Intent Receiver nlWffiffl BroadcastReceiver Mifcjffijgxj—t^SPW 'MH&iliflfilifc. JBM, «ill,

^»aiinfAii^^^lMtiiJ-^WH^iS, nJWiiJffl BroadcastReceiver aifitil. Win, "i K4£ tfi'

'fWJ^JfiWWiS. BroadcastReceiver lit ir fit fll- BroadcastReceiver Ul.

tfej&Jg-ifcrtt fflJ/'^ift^MjglWW. HJ^JfefH^iUfKl. BroadcastReceiver ifflH NotificationManager fo BroadcastReceivers ISEnJI^ft AndroidManifcst.xml 'WtflfK lli"J WCl! SiflM-W^Pl'IMillJ Contcxt.registerRcceivcrOittij-i'-l:». MfiJftttM f. *fl: *HfiiWWM. UP Mi ft-'I J*ft fJ- VI , St l!i <\:Ui ® W Ffi M/; 1 ft!lr:o fr itKy.ffi a n/ WiffiHttilJ Contcxt.sendBroadcast() ^'¿'ffj n LiW intent broadcasts /' if ^XWlfe/^ffllS^c

S6 6 m HZl^iil&^I-Android EfflüffriSttiHB

6.2.3 Service MB

0 0

Post a comment