Android CountDownTimer with an Example

Android CountDownTimer is a timer which is used to decrease the time on the basis of our requirement. It also provides the finish( ) method ,After completing the timer we can set any value or perform any task. Some important method of CountDownTimer onTick( long millisUntilFinished):In this method we pass the countdown milliseconds. onFinish( ):After … Read more Android CountDownTimer with an Example

Android WebView Example with easy explanation

Android webview is used to display the webpage inside your application Webview is used to turn your android  application into the web application. Webview uses the webkit to display the webpage. There are some steps to use WebView in your application. 1.To use the webview in your application,you have to add <Webview>  element in xml … Read more Android WebView Example with easy explanation

How to open camera in android using intent and display the captured image

In this tutorial,we will learn how to open camera in  an android using intent and display the captured image into the ImageView in your android application step by step with easy explanation. We can open the camera using  ACTION_IMAGE_CAPTURE of the MediaStore class. Let’s start 1. activity_camera.xml:  In the activity_camera.xml contains one imageview and one … Read more How to open camera in android using intent and display the captured image

Android Intent and its types with easy explanation

In this tutorial,we will learn about the intent and its types with easy explanation step by step. This is a very important topic which is used every stage of android development phase.Here we will discuss all abouts the intents. Let’s start What is an  intent ? Android intent is a message which is used to … Read more Android Intent and its types with easy explanation

Android shared preference example with easy explanation

In this tutorials we will learn about the android “shared preference” which is used to save and retrieve the data in the form of key-value pair. Introduction Shared preference provides the facility in which we can save and retrieve the value/data in the form of key-value pair. Shared preference only store the primitive data types … Read more Android shared preference example with easy explanation

RETROFIT TUTORIAL:HOW TO FETCH DATA FROM THE URL USING THE RETROFIT LIBRARY

Retrofit is a networking library which is used to create the HTTP request and get the HTTP response from the REST based web service. Retrofit is the best alternate of volley.It is also the faster networking library. Retrofit is developed by the Square.It can be used with the Picasso and glide for the image loading … Read more RETROFIT TUTORIAL:HOW TO FETCH DATA FROM THE URL USING THE RETROFIT LIBRARY

Volley Tutorial:How to fetch data from the URL in android using volley library.

1.What is volley ? Volley is an HTTP library which is used to make networking calls for the android applications easier and faster. It is also available GitHub. 2.Advantage of Volley. a>  Add multiple connection b> Queuing and prioritization the request c>Cancelling the API d>Easy to customize Now understand with the help of Example: Note: … Read more Volley Tutorial:How to fetch data from the URL in android using volley library.

Top 4 -Third Party Library For The Image Loading/Downloading In Android.

Here we will learn top 4 -third party library for the image loading in android. Note: <uses permission android:name=”android.permission.INTERNET”/> Add the above code in AndroidManifest.xml. 1.Glide Glide is a open source,fastest and efficient to use in android in which we can easily load/download the image in the ImageView. It also support the Animated GIFs,decoding the … Read more Top 4 -Third Party Library For The Image Loading/Downloading In Android.

Displaying the Alert Dialog Box in Android

Here we will learn that how to display the alert dialog box on  button click. Alert dialog box is used to display the  message/condition with two buttons cancel and OK. Example: Suppose when  you logout the Facebook then show dialog with message,Are you sure to logout ?, then this Alert Dialog. # Implementation of Alert … Read more Displaying the Alert Dialog Box in Android

Android Notification Tutorial

Android Notification Android notification is a message which is displayed top of the application UI with the small icon,title and content. Here we will create notification step by step 1 First creating Notification Builder Here first we will create NotificationCompat.Builder class for setting the notification icon,title and content. 2 Some properties of Android Notification: We … Read more Android Notification Tutorial