Howtodoandroid – Learn android by doing

  • Download File With Android Work Manager [Example]

    Download File With Android Work Manager [Example]

    In this tutorial, we are going to download a file using work manager and save it in your location storage in kotlin. WorkManager in Android is one of the parts of Architecture Components and Android Jetpack that runs the postponed background task when the task’s restrictions are fulfilled. WorkManager controls the background task that needs […]

  • Update Android Recyclerview Using Diffutil

    Update Android Recyclerview Using Diffutil

    If you are an Android Developer, I am sure you’ve used RecyclerView in your android application. In this tutorial, I am going to explain how to update the RecyclerView with DiffUtils. What exactly is RecyclerView? RecyclerView is a more adaptable and efficient version of ListView. It is a container for displaying a larger data set […]

  • Android Runtime Permissions[Updated with Android 11]

    Android Runtime Permissions[Updated with Android 11]

    From the beginning of Android 6.0 Marshmallow, Google has introduced a new runtime permission model, users are not asked for permissions at the time of installation rather developers need to request the permissions at the run time. Only the permissions that are defined in the manifest file can be requested at run time. This helps in […]

  • MVVM Unit testing on Android

    MVVM Unit testing on Android

    In this tutorial, I am explaining about writing test cases for MVVM on android. Unit testing is testing every unit of your code. Unit testing is a must to build robust android applications. It is an important element while building quality applications. Unit tests are the smallest (individually) and with the least execution time. Benefits […]

  • InAppLogger – Logger For Android Application

    InAppLogger – Logger For Android Application

    InAppLogger is a very useful app to log your data on the app screen. Normally logs will be shown in android studio Logcat. In some cases like remote debugging, you want to display the logs on the mobile screen to debug. In that case, you can use InAppLogger to display the logs on the device […]

  • How to pick multiple files from Android

    How to pick multiple files from Android

    In this tutorial, I am explaining how to pick multiple files in android using the default file chooser. By using this example, you can select images and files. In my previous post, I explained how to capture images using a content provider. Step to pick multiple files in android Setup File Picking Intent Once we […]

  • Setup Gitlab CI For Android [Step By Step]

    Setup Gitlab CI For Android [Step By Step]

    being an android developer, we don’t get a chance to work on Continuous integration most of the time. So, I created this tutorial to learn the GitLab CI with simple steps. GitLab is a complete DevOps platform, delivered as a single application. Continuous integration is a way to avoid build failure and test failure before […]

  • Kotlin Coroutines – Exception Handling and Cancellation

    Kotlin Coroutines – Exception Handling and Cancellation

    It’s very important to handle the exception that occurs during the networking operation or any IO operations in kotlin coroutines. So, in this tutorial, we are going to see how to handle the exceptions and how to cancel the particular job running on the kotlin coroutines. Before getting into this tutorial, If you are not […]

  • Kotlin Coroutines for Android Development

    Kotlin Coroutines for Android Development

    If you want to get started with Kotlin Coroutines for Android Development and want to master it, then this article is for you. In this tutorial, we are going to master the Kotlin Coroutines in Android by covering the following topics: Before getting started, check out my other post on kotlin. Beginning Android Development with […]

  • Ultimate Guide to Android Material Design Components

    Ultimate Guide to Android Material Design Components

    Material design is a comprehensive guide for visual, motion, and interaction design across platforms and devices. Google announced Material Design on June 25, 2014, at the 2014 Google I/O conference. Material Design can be used in API Level 21 (Android 5.0) and newer via the v7 appcompat library, which is used on virtually all Android […]

Got any book recommendations?