Home » Android » Page 9

Android

Android Drag and Drop Example

The Android System provides Drag and Drop framework, which facilitates users especially to move data from one View to another within the current layout. It is good to mention that many apps take advantage of the graphical drag and drop gesture that the system procures. The framework contains the following three components, which support drag and drop functionality: Drag event ...

Read More »

Android Fragments Example

A Fragment represents a portion of a user interface or an operation that runs within an Activity. A single activity can contain multiple fragments and many fragments can be reused in many, different activities. It is not wrong if we say that a fragment is a type of sub-activity that can be utilized again in multiple activities. Although each fragment ...

Read More »

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 Contacts Example

In this example we are going to see how to get Contact Information on your own Android Application. This is an example that demonstrates the appropriate queries (basically there are translated to SQLite queries) you should use in order to get the information you want about Contacts. Of course you can customize the display of the Contact List (here we ...

Read More »

Build Android application package file (APK) using Eclipse IDE

Android application package file (APK) compressed file that is used to install and distribute Android Applications. Remember when you install an new Application in your Android Phone (or when you run your Application in an emulator) the APK file of your project is installed on your device. APK files are really ZIP archive files. You may open APK files using ...

Read More »

Android ActionBar Example

In this tutorial we are going to see how to  create a simple Android Menu using ActionBar. It is a very handy kit when you want to create simple Menus for your application. In this tutorial we are going to see how to create a simple menu with 3 options and with Icons.               ...

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 ProgressDialog Example

Progress dialogs are very commonly used components in all User Interfaces, when you want to display the progress of a task that is taking up a lot of time, for example a file or an Image download. In this tutorial will create a ProgressDialog to let the user know the progress and a status of a simulated Image download activity. ...

Read More »