Home » Android » core » content


Android Intents and Intent Filters Example

An Android Intent is a “message object” that its purpose is to activate a component of an application (activity, service or broadcastreceiver). Intents allow you to interact with components that belong either at the same application or outside that application. It is an abstract description of an operation to be performed or announced. The Intent object contains information which is ...

Read More »

Android Content Provider Example

A Content Provider is used to share and access data from a central repository. Usually android applications keep data hidden from the other applications but sometimes, it is useful to share data across them. So, content provider is a suitable reason to share data with other applications, based on a standard interface. There are many different ways to store data ...

Read More »

Android Broadcast Receivers Example

The Android system uses broadcasts messages (often are called Intents or Events) to transfer information to applications. The Broadcasts can be sent either by Android apps or, most commonly, by the system itself. There are many system generated events that Intent class defines for receiving broadcasts, which some of them you can find in the Standard Broadcast Actions of Android ...

Read More »

Android Intent Example

In this example we are going to see how to use the Android Intent component. You can think of Intents as messages that the Android Platform sends when it wants to request the service of another resource, like launching another Activity or another Service. You can send an Intent to the Android System using certain calls, like startActivity or startService. ...

Read More »

Android SharedPreferences Example

In this example we are going to see how to use Android SharedPreferences. You can permanently store preferences using SharedPreferences with the form of a pair : key and a value. Basically there are some ways you can store data in Android : Shared Preferences: Prrimitive data storage (boolean Strings, ints etc..). Internal Storage: Device memory storage. External Storage: Store public data on storage ...

Read More »