Skip to main content

Posts

Showing posts with the label activating components

Intent and Intent Types-Explicit Intent & Implicit Intents

  See more basics on Android  All the components are activated by a message called Intents. Intents bind individual components to each other at runtime, whether the component belongs to your application or another. An intent is created with an Intent object, which defines a message to activate either a specific component or a specific type of component—an intent can be either explicit or implicit, respectively. An intent is an abstract description of an operation to be performed. Intents are send to the Android system via a method call, e.g. via the startActivity() method. They can be said as a message which allow android components to request functionality from other components. Intent Filters: Activities and intent receivers include one or more filters in their manifest to describe what kinds of intents or message they can handle or want to receive.An intent filters lists a set of requirements, such as datatypes,action requested and URI format that the intent or messa...

Android Application Fundamentals or Components

See more basics on Android along with interview questions Android is written in java programming language.Android application are composed of some of the main components such as: Activities Services Content providers Broadcast receivers Intents, Resources(such as strings and graphics), Notification signalings(light,sound,dialog), are also part of the components. All these components play different role in the overall application and each one can be activated individually. Activities :           An activity represents a single screen with a user interface.Suppose if there is a listview and if clicking on each row it traverse to another page ,then the screen showing listview is an activity and the next page is another activity,where each one is independent of the others. An activity is implemented as a subclass of Activity ,that why we use see activity life cycle here : public class MainActivity extends Activity { } ...