Tag: Android Components
Android provides multiple methods to execute long running code off the UI thread while posting the results of the code to the main UI thread. CursorLoader is one of …
In this post we will be discussing the use of DialogFragments in Android. We will see how to migrate away from Dialogs. Google recommends DialogFragment to be used instead …
AndroidX is the latest Android support library package and is an improved version of older support libraries. Android Studio seamlessly supports migration of Android code with support library to …
Accessibility Service is used to assist users with disabilities. Accessibility services are background services which is invoked by the system on receiving specific input in the form of AccessibilityEventInfo. …
Realtime location tracking is the backbone of all delivery and tracking apps in the market. For example tracking your food on your favourite delivery app or tracking your cab …
Android Play Services SDK offers Location API that is used to get gps location. Location updates is one of the most crucial feature of Android apps. We have seen …
Often we need to communicate between Activity and Fragments. Fragment to Activity communication is done through interfaces. In order to create a communication flow between Fragment and Activity you …
ContentProvider is one of the main component of Android Application. Content Providers are the wrappers to expose data stored locally or remotely. ContentProviders are written like REST like URIs …
Firebase Cloud Messaging (FCM) is a free service offered by Google to send and receive cross platform messages. One of the primary example of FCM is Android application exchanging …
In most of the applications there is a need to include files like database, files, audio, images in apk. This can be achieved by saving files either inside assets …