Service

Service fa't^JflfflÄ'iilt Activity R-fi* onCreate. onStart, on Destroy, Afltjjfij^

Service h'ItfjMlHtëÙ&.IJj'ÏM-* Jftë < onCreate-onStart ) H ft', Service f^jkMBÎMjïjgiâ Silfi ( on Destroy ) o ( TestServiceMolder ) ÍI B ÄfölUili íftj'SYj WM stopService,

Service £ -W&fäft&tt. ÉLÍ'J K&Wffl#(TestServiceHoider> #liJJ« WÍ] stopService.

2. il£t bindService töijt bindService Vi 4ft Service, & M été ff onCreate, ütWM TestServiceMolder ill TestService Sf&ft fe. Öl Mi TestServiceHolder ißtH T» Srevice «fc^iflffl onUnbind—on Destroyed, »riHSHë«- -fittÄfipt:To

»-fi-MTföfiNT. -ÄWiS. ÄffiflMt^ttrÄBE? -^MftWJfi Service fa onCreate WÄ'ttR^IfciHRI Service HtftäJ« ÍUI

S3feJ69»ÎË (bind) j\ (start) WW««*"ft«iSÍT Service fa onStart #ü, JPSjfeJgJri

^J (start). (bind) WfîÎtë&KfëiSÎr onBind ÎMÎÎHftft^fé (bind) h f. Mf?

lh (stop) WT, stopService T^tffl /, Hitëft UnbindService, \H StopService, 0rölfi

Was this article helpful?

0 0

Post a comment