Thursday 20 June 2013

Android Bound Service and Unbound Service run in Background

Android Services is used to do any background task in current activity.There is two types of Services available in android.Service class is responsible for using Services in android for that we need to extends Services class in out Custom service.

  1. Bound Service :Service which call indefinitely in between activity
  2. Unbound Service :Service which call at the life span of calling activity

Services has different life cycle from Activity. Services has different method for their life cycle which is startService(),stopService(),onBindService()


My Android Applications

Download Hanuman HD Wallpaper on Google Play

Download Live Currency Exchange Rates on Google Play

Download iSIM Info on Google Play

Download Find Droid on Google Play

No comments:

Post a Comment