Saturday, 16 September 2023

Speech to text code in Android Kotlin

 


Here is the code for getting text from speech on the mic.

Here is your activity_main.xml


Snackbar in Kotlin

How to show snackbar in place of toast message , below is the code for showing snackbar in kotlin. Below code is put in Utils.kt  (common fi...