Android

Android Audio Recorder Example

This tutorial is about how to implement audio recorder in android with the help of a simple application. MediaRecorder Class In android, MediaRecorder class will provide a functionality to record audio or video files. In android, to record an audio we need to use device’s microphone along with MediaRecorder class. In case, if we want to record video, we …

Android Audio Recorder ExampleRead More »

Android Jetpack CameraX Example

This post is about Android Jetpack CameraX API and how to implement it in an android application with a simple basic example. CameraX CameraX is a Jetpack support library, makes it easier to add camera capabilities to your app. It has backward compatibility down to Android API 21. It uses a simpler, use case-based approach …

Android Jetpack CameraX ExampleRead More »

Android Jetpack Proto DataStore Example

This blog is about Android Jetpack Proto DataStore and how to implement Proto DataStore in our Android application. Proto DataStore Proto DataStore stores data as objects of a custom data type. When using Proto DataStore, you have to define a schema using protocol buffers. Creating New Project 1 . Create a new project by going to File ⇒ New …

Android Jetpack Proto DataStore ExampleRead More »

Android Jetpack Preferences DataStore Example

This blog is about Android Jetpack DataStore Preferences and how to implement DataStore Preferences in our Android application. DataStore Jetpack DataStore is a data storage solution. It allows us to store key-value pairs (like SharedPreferences) or typed objects with protocol buffers (discuss in the next article). DataStore uses Kotlin, Coroutines and Flow to store data asynchronously with consistency …

Android Jetpack Preferences DataStore ExampleRead More »

Android highlight the paragraph in TextToSpeech

This post is about how to change paragraph color which is current speaking in TextToSpeech. Creating new project 1. Create a new project by going to File ⇒ New Android Project, fill the required details and then click on finish. 2. The below layout file consist of two textView and a button to trigger an event that will highlight the …

Android highlight the paragraph in TextToSpeechRead More »

Android highlight a word in TextToSpeech

This post is about how to highlight the word while speech is running in TextToSpeech. Creating new project 1. Create a new project by going to File ⇒ New Android Project, fill the required details and then click on finish. 2. The below layout file consist of two textView and a button to trigger a event that will highlight the …

Android highlight a word in TextToSpeechRead More »

Android Text to Speech Example

Android is providing a cool feature (from Android 1.6) called Text to Speech (TTS) or speech synthesis which speaks the text in different languages. This tutorial is about how to work with android text to speech or android speech synthesis. It also includes changing the language type, speech pitch and speech rate. Creating new Project …

Android Text to Speech ExampleRead More »

Android Styles and Themes

This article is about Android Styles and Themes and how to use them in Android application with the help of simple examples. Style A style is a collection of attributes that specify the appearance for a single View. A style can specify attributes such as font color, font size, background color, and much more. Create and apply a …

Android Styles and ThemesRead More »

Android Drag and Drop Example

This tutorial is about Android drag and drop feature and how to use it in an Android application with a simple example. Android Drag and Drop framework, allows you to move data from one View to another using a graphical drag and drop gesture. Although the framework is primarily designed for data movement, you can …

Android Drag and Drop ExampleRead More »

Android GridLayoutManager Example With RecyclerView

This article is about Android GridLayoutManager and how to use it with RecyclerView to show items in uniform grid with the help of simple android application. GridLayoutManager The RecyclerView widget is a more advanced and flexible version of ListView. It is a container for displaying large data sets that can be scrolled very efficiently by maintaining a limited …

Android GridLayoutManager Example With RecyclerViewRead More »

%d bloggers like this: