Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Difference between UnBound Service, Bound Service and Intent Service

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 1.92k
    Comment on it

    Here I am writing few differences between UnBound Service, UnBound Service and IntentService.


    UnBound Service:

    1.Basically used for long repetitive task.

    2.startService() is the method use to start unbound service.

    3.stopService() is the method use to stop explicitly.

    4.It is independent of the component from which it starts.


    Bound Service:

    1.Basically used for long repetitive task but bound with the component.

    2.starts by bindService().

    3.unbindService() is the method use to stop explicitly.

    4.It is dependent of the component from which it starts


    Intent Service:

    1.Basically used for one time task. Whenever it completes the task, it destroys itself.

    2.starts by startService().

    3.stopself() calls implicitly to destroy.

    4.It is independent of the component from which it starts

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: