This tutorial explains “How to Programmatically Zip and Unzip File in Android”. Zipping means writing (compress) data into zip files.…
Android Button Example
1. Introduction 2. Declaring Button Layout 3. Initializing Button in Activity 4. Button Event Handling 5. Styling Android Button 1. Introduction This…
Android Menu Example
This tutorial explains how to create menu in android with example. Menus are a common user interface component in many…
Android Radio Button Example
In this tutorial, we show you how to use radio button in android using example. RadioButton is a two-states button…
How to Convert POJO to XML in Android
POJO is an acronym for Plain Old Java Object, basically a class with attributes and it’s getters and setters. The…
Android Gridview Example- Building Image Gallery in android
1. Introduction 2. Adding GridView layout 3. Define grid item layout 4. Creating GridView adapter 5. Setting adapter to GridView 6. Handling GridView click…
How to pass a data from one Activity to another in Android
1. Calling one activity from another in android 2. Passing data from one activity to other in android 3. Retrieving…
Starting an activity for a result
Starti In Android user interface is displayed through an activity. Activity is used to represent the data to user and…
How to Get List of Installed Apps in Android
Android PackageManager class is used to retrieve information on the application packages that are currently installed on the device. You can get…
How to Turn off, Turn on Wifi in Android
The following code snippet will help you to pragmatically turn on and turn off wi-fi in android. This sample code…