In this tutorial, we’ll be digging deep into AsyncTasks in android by discussing the different ways of executing it. We’ll see the different ways to handle configuration changes with Async Tasks too. To know the basics of AsyncTasks, we recommend you to read this tutorial. Android AsyncTasks AsyncTasks is a helper class that lets us […]
Android Tutorials using Android Studio for Beginners as well as advanced programmers. Learn android app development step by step and download source code for example app.
Best Android Tutorials
These are some of my favorite android tutorials here.
In this tutorial, we’ll be discussing the runtime environments used in Android. We’ll see the differences and how it is improving for the betterment of android applications execution. Runtime Environment Runtime Environment consists of software instructions(generated from the code) that are used while executing the programming. JVM is the component that is used to convert […]
In this tutorial, we’ll be discussing the basics of Realm Database and implement it in our Android Application for offline data storage. Android Realm Database Realm is a database that is the perfect alternative to SQLite. It’s is a NoSQL database designed for mobile platform. Its core consists of a self-contained C++ library. It supports […]
In this tutorial, we’ll be implementing Constraint Layout Animations in our Android Application. Constraint Layout Animation We can create beautiful animations using ConstraintLayout quickly. To do so, we need to just change constraints! The most common and easy way to create Constraint Layout animations in by creating two different layouts. One is the start stage […]
In this tutorial, we’ll be discussing and implementing the AdapterViewFlipper class in our Android Application. Android AdapterViewFlipper AdapterViewFlipper class is a subclass of the ViewAnimator class and is used to flip between 2 or more views such that only one view is displayed at a time. This is commonly used in slides. Difference between ViewFlipper […]
In this tutorial, we’ll be discussing and implementing Offline caching in our android application. We’ll be using Retrofit and Okhttp libraries. Offline Caching Opening your application with no internet and seeing no previous data is a very common occurrence. Two ways to deal with loading network requests that come first to our minds are: Shared […]
In this tutorial, we’ll be discussing the Smart Lock feature and implement it in our Android Application. Google Smart Lock Smart Lock is used to automatically sign into your application by saving the credentials once and for all. That means that if you reinstall your application after a while, you can automatically sign in with […]
In this tutorial, we’ll be discussing AnimatedVectorDrawable and implementing it in various ways in our android application. Having an idea of VectorDrawables would make the below article easier to understand. AnimatedVectorDrawable AnimatedVectorDrawable class was introduced since API 21 and is used to animate Vector Drawables beautifully and easily. Following are some of the things that […]
In this tutorial, we’ll be discussing and implementing the Swipe to Delete feature on the RecyclerView in our Android Application. Android Swipe To Delete Swipe to delete feature is commonly used to delete rows from a RecyclerView. In order to implement Swipe to delete feature, we need to use the ItemTouchHelper utility class. ItemTouchHelper.Callback In […]
In this tutorial, we’ll be developing an application which displays images captured from camera or gallery using FileProvider. We’ve already developed a similar application in the past. But with the introduction of Android Nougat, it gives a runtime crash saying FileUriExposedException. FileProvider FileProvider is a special subclass of ContentProvider which allows sharing of files between […]