Skip to main content

Posts

Featured

Difference between Intent,Pending Intent,and Sticky Intent

Intent :           1. Intent is message passing component for android.           2. It's uses to activate(start) component(activity,service,broadcast receiver).           3. It's not uses in content provider component. Pending Intent :           1. Pending Intent is using for broadcast receiver for a fixed time.Fixed time means that system                 knows that when the receiver would fire. Sticky Intent :            1. Sticky Intent is using for broadcast receiver for unknown time, means it may occur anytime                 when the situation occur. For example battery low problem  may occur any time ,so this type               of situation can be handle with the help of sticky intent.          ...

Latest posts

Difference between service and intent service in android.