Posts

Showing posts from December, 2017

Android Intent Tutorial

Image
INTENT : Android Intent  is the  message  that is passed between components such as activities, content providers, broadcast receivers, services etc. It is generally used with startActivity() method to invoke activity, broadcast receivers etc. The  dictionary meaning  of intent is  intention or purpose . So, it can be described as the intention to do action. The LabeledIntent is the subclass of android.content.Intent class. Android intents are mainly used to: Start the service Launch an activity Display a web page Display a list of contacts Broadcast a message Dial a phone call etc. TYPES OF INTENT : There are following two types of intents supported by Android Explicit Intents : Explicit intent going to be connected internal world of application,suppose if you wants to connect one activity to another activity, we can do this quote by explicit intent, below image is connecting first activit