Android Scanning Barcode/QR code using Google ML Kit and CameraX

This post is about, how to implement Barcode scanning using Google ML Kit’s Barcode Scanning API and Jetpack CameraX with the help of simple application.    CameraX CameraX is a Jetpack support library, built to help you make camera app development easier. It is based on use cases that is lifecycle-aware. These use cases work …

Android Scanning Barcode/QR code using Google ML Kit and CameraXRead More »

Android Paging 3 Example Using Retrofit

This post is about Android Jetpack Paging 3 library and how we can use it to load the large set of data from network using Retrofit in our RecyclerView efficiently with the help of AndroidPagingExp application.   Android Paging  The Paging library helps you load and display pages of data or small chunks of data …

Android Paging 3 Example Using RetrofitRead More »

Android ExoPlayer Example in Kotlin

This post is based on implementing Exoplayer Library to play media files on Android. ExoPlayer  ExoPlayer is an open source library maintained by Google. It  supports a wide range of media files including DASH and HLS streaming which is not supported by the MediaPlayer. It provides you the ability to customize your media player according …

Android ExoPlayer Example in KotlinRead More »

Android read a file from assets in java/Kotlin

This article is about how to read a file from the assets folder in android in both languages Java/Kotlin. Creating Assets folder and a file 1. To create an asset folder in Android studio open your project in Android mode. Go to the app > right-click > New > Folder > Assets Folder.   2. Android Studio will …

Android read a file from assets in java/KotlinRead More »

%d bloggers like this: