Category Archives: Android Tutorial

Android Real Time Chat Application Using Firebase Tutorial

In this tutorial you will learn to build an android real time chat application using firebase database. Before reading this tutorial I hope you are already familiar with basic read and write operations on firebase. If you don’t know then I would recommend you to follow below link to get basic overview about firebase. Read:… Read More »

4 Ways to Get Current Date in Android

In this tutorial I will show you 4 different ways to get current date in android. For doing this we will use Calendar, Date, SimpleDateFormate and System class. How to Get Current Date in Android? Method 1: In this method we will use Calendar and SimpleDateFormate class.

  Method 2: We can use Calendar… Read More »

Android Date Picker Example

In this tutorial you will get android date picker example. DatePickerDialog is used to show a dialog to pick a date. To show a DatePickerDialog call showDialog() with unique DatePickerDialog id. onCreateDialog() method is automatically called on calling showDialog() method. Register OnDateSetListener with DatePickerDialog and override onDateSet() method. onDateSet() contains the picked date. I am setting… Read More »

Android Round Button Example

In this tutorial you will learn how to create a round button in android. Shape drawable resource is used to define shape of a view. Below I have shared an example to to make a circle button. Android Round Button Example Create a xml file inside res/drawable folder. round_button.xml

  shape: Defines shape of view.… Read More »

Android Push Notification Using Firebase Cloud Messaging (FCM)

In this tutorial you will learn to implement android push notification using firebase cloud messaging (FCM). Firebase is a real time cross platform database that provides various functionalities like authentication, storage, notification, etc. Firebase is becoming popular among developers due to its simplicity and easy implementation. In earlier days Google Cloud Messaging (GCM) was used… Read More »

Android Upload Image to Server Using Volley

Here you will learn about android upload image to server using volley library. At server side I have used java web service and for sending image to server volley library is used. How it works? The user chooses an image from gallery and click on upload button. The image is then converted into Base64 string… Read More »

How to Solve Intel HAXM Error in Android Studio

Here you will get all possible reasons and solution for intel haxm error in android studio. It is the most common problem faced by android developers. We can’t run Android Virtual Device (AVD) without intel haxm. As I am also an android developer so I face this problem each time I install a new copy… Read More »