Howtodoandroid – Learn android by doing

  • Get the Current Location On Jetpack Compose

    Get the Current Location On Jetpack Compose

    Are you want to get the current location on android in jetpack compose? In this tutorial, I have explained how to get the current location

  • Best ways to handle runtime permission on jetpack compose

    Best ways to handle runtime permission on jetpack compose

    If your app is installed on a device that runs Android 6.0 (API level 23) or higher, you must request the runtime permissions for the user by following the steps in this guide. There are two ways to get runtime permissions in jetpack compose. let’s have a deep look into the above methods in detail […]

  • Implementing TabLayout with ViewPager On Jetpack compose

    Implementing TabLayout with ViewPager On Jetpack compose

    TabLayout allows us to quickly navigate between related content on a single page, which appears toward the top of the screen.

  • Easy animation on splash screen In android using jetpack compose

    Easy animation on splash screen In android using jetpack compose

    Every android application contains a splash screen to display the app name and app version at the launch of the application. Also, it’s used to load initial data for the application in the background. So the data will be ready before moving to the main screen. The splash screen is one of the main screens […]

  • Create custom dialog in jetpack compose

    Create custom dialog in jetpack compose

    In this tutorial, I am going to explain how to create a dialog in jetpack compose android in very simple steps. In this example, I have created multiple alert dialogs with different use cases. let’s get started with creating a simple alert dialog creation. To learn more about the jetpack compose check out my other […]

  • How to capture images using the camera in jetpack compose

    How to capture images using the camera in jetpack compose

    In this tutorial, I am going to explain how to capture images in a jetpack compose using a device camera. Also, I have added code to asking runtime permissions for the camera. To get started with taking photos using the camera, First need to add camera permission on the manifest.xml file. Get File URI From […]

  • How to pick Image from gallery in jetpack compose

    How to pick Image from gallery in jetpack compose

    In this tutorial, I am explaining how to pick images from a gallery in jetpack compose and display the picked images in a Lazy grid view. Before getting started into details. if you are new to jetpack compose, I strongly recommend you learn the basics of jetpack compose for a better understanding of this example. […]

  • Creating android app using MVVM + Coroutines + Flow + Hilt

    Creating android app using MVVM + Coroutines + Flow + Hilt

    In this tutorial, I will explain the MVVM architecture with kotlin coroutines and kotlin flow with hilt dependency injection. Also, I will explain the Room database with the flow in this tutorial. let’s begin with a short introduction about the features I will use in this tutorial. What is MVVM? MVVM (Model-View-ViewModel) pattern helps to […]

  • Image Slider with the indicator Using Jetpack compose

    Image Slider with the indicator Using Jetpack compose

    In this tutorial, we are going to learn about how to create an image slider with a dot indicator in jetpack compose. When we are working with XML to create an image slider we will use Viewpager. But in jetpack compose we don’t have a viewpager for now. But, we have an Accompanist-Pager layout to […]

  • Pagination with Paging 3 in Android Example

    Pagination with Paging 3 in Android Example

    The Paging 3 library helps you to load and display data from a larger dataset from local storage or from API. This will helps your app to use both network and system memory more efficiently. Paging 3 library is designed to fit into the recommended Android app architecture, integrate cleanly with other Jetpack components, and […]

Got any book recommendations?