Category Archives: Android Tutorial

Android Google Maps API Tutorial – Getting Started

This is android google maps api tutorial. In this tutorial I will teach you to integrate google maps in your android app using google maps api v2. This API provides us various functionality like showing locations in map, showing routes, add marker, etc. Android Google Maps API Tutorial Android Project 1. Open Android Studio and… Read More »

How to Get Current Location in Android Using Location Manager

In this GPS tutorial you will learn how to get current location in android. LocationManager class provides the facility to get latitude and longitude coordinates of current location. The class in which you want to get location should implement LocationListener and override all its abstract methods. How to Get Current Location in Android Using Location Manager Add… Read More »

Android XML Parsing Using XMLPullParser

In this tutorial you will learn about android xml parsing using XMLPullParser. XML is a popular and very commonly used format for sharing data on internet. In android there are several ways to parse xml data like DOM, SAX and XMLPullParser. But in this article I will teach you how to parse xml using XMLPullParser.… Read More »

How to Pass Data from One Activity to Another in Android

In this tutorial you will learn to pass data from one activity to another in android with and without using intent. Basically we can send data between activities in two ways. Using Intent Using Global Variables Below I have discussed both the methods in detail. Note: There are some other ways like shared preferences and database… Read More »

Android RatingBar Example

In this tutorial you will learn about Android RatingBar with example. RatingBar is widget in android that is used to show user rating in the form of stars. The user can drag or touch it to set the rating value. Rating bar is very import widget specially for eCommerce apps where we have to display… Read More »

Android Image Slider Using ViewPager Example

In this tutorial you will learn to make android image slider using ViewPager and PagerAdapter. ViewPager is a layout manager that allows the user to flip left and right through pages of data. We supply an implementation of a PagerAdapter to generate the pages that the view shows. Below example shows how to make a simple… Read More »

Android Realm Database Tutorial

This is android realm database tutorial. Realm is an open source database that can be used to store data locally in android. It is used by over 100k developers and is a good alternative of SQLite. In this tutorial I will teach you how to use realm database in android. Android Realm Database Tutorial Installation… Read More »

Android Stopwatch Example Using Chronometer

Here you will get android stopwatch example. In this android tutorial I will guide you to make a simple stopwatch example using Chronometer. In android we can use Chronometer class to display a simple timer. Also Read: Simple Notepad App Android Example Android Stopwatch Example Using Chronometer Create a new android project with package name com.androidstopwatch Now… Read More »

Android SOAP Client Example Using ksoap2

In this tutorial you will learn to make an android soap client using ksoap2 library. Prerequisites We need ksop2 library. You can download its jar easily by searching on google. A soap web service running on server. Also Read: Android Restful Web Service Client Example In this example we will create android client that will consume… Read More »

Android Play Video From URL Using VideoView Example

Here you will learn how to play video from url in android using videoview. We can using VideoView widget to play offline video as well as video from url. In below example I have displayed a progress dialog until the video is buffering. Also Read: Picasso Android Tutorial – Load Image from URL Android Play Video… Read More »