Your SlideShare is downloading. ×
Service
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Service

480
views

Published on


1 Comment
0 Likes
Statistics
Notes
  • see dear world friends to save rural mass from unnecessary expenses and save time manpowers plz join the ppp mode contact me on9185494956443
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

No Downloads
Views
Total Views
480
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
3
Comments
1
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Service
  • 2. • KitchenTimerService • http://bit.ly/6mAZ6g •
  • 3. • Service • Service • Service • Service – Service BroadcastReceiver – Service i/f
  • 4. Service • – Service Intent – startService Intent – IntentFilter – registerReceiver IntentFilter BroadcastReceiver
  • 5. BroadcastReceiver • Service • onReceive bind • Service sendBroadcast
  • 6. Service (bind) • bindService Intent ServiceConnection Context.BIND AUTO CREATE • ServiceConnection#onServiceConnected • Service onBind callback
  • 7. Service (unbind) • unbindService ServiceConnection • ServiceConnection#onServiceDisconnected • Service onUnbind callback
  • 8. Serviceconnection#onServiceConnecte • IBinder Service onBind • IBinder Service getter Service public
  • 9. Service • unbindService • unregisterReceiver BroadcastReceiver • Service stopSelf