Posts

Google Map Intent - Android Studio - Compose

Image
How to open Google Maps with directions to a specific location (Latitude, Longitude)? You may have a scenario where you want to open a specific location on Google Maps by clicking a button. In this tutorial, we will input the latitude and longitude, and by clicking a button, we will open that location in Google Maps. >> Check For Java >> Check for Kotlin >> Check for Compose Code MainActivity.kt package com.technifysoft.myapplication import android.content.Context import android.content.Intent import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.PaddingValues import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foun...

Text To Speech - Android Studio - Compose

Image
How to implement Text to Speech using Android Studio Jetpack Compose? In this tutorial, we will create a "Text To Speech" application that can be used to speak text from any view, such as an EditText or TextView. >>  Watch For Java >>  Check for Kotlin >>  Check for Compose Code MainActivity.kt package com.technifysoft.myapplication import android.os.Bundle import android.speech.tts.TextToSpeech import android.widget.Toast import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.PaddingValues import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.height import androidx.compose.foundation.layout.heightIn import androidx...

Speech To Text - Android Studio - Compose

Image
Speech To Text In this comprehensive tutorial, you'll learn how to implement Speech to Text functionality in an Android application using Kotlin (Jetpack Compose) programming language in Android Studio . The tutorial covers step-by-step instructions, starting from setting up the project in Android Studio, integrating the necessary permissions, implementing the SpeechRecognizer API , handling runtime permissions, and displaying the recognized text on the user interface. Whether you're a beginner or an experienced Android developer, this tutorial will provide you with the necessary guidance to seamlessly integrate Speech to Text functionality into your Android application. >>Check For Java >>Check For Kotlin >>Check For Compose Code: MaintActivity.kt package com.technifysoft.myapplication import android.app.Activity import android.content.Intent import android.os.Bundle import android.speech.RecognizerIntent import android.widget.Toast import and...

Show Snackbar - Android Studio - Compose

Image
How to show a Snackbar and a Snackbar with an Action Button? Learn how to easily display a  Snackbar  in your Android app using  Jetpack  Compose  in  Android Studio . A Snackbar is a lightweight feedback mechanism that appears at the bottom of the screen to show quick messages to users. In this step-by-step tutorial, you’ll understand how to create, customize, and add actions to a Snackbar, making your app more interactive and user-friendly. Perfect for beginners and developers who want to enhance their Android UI/UX with modern material design components. >> Check for Java >> Check for Kotlin >> Check for Compose Code Here is the full code to show a Snackbar and a Snackbar with an Action Button MainActivity.kt package com.technifysoft.myapplication import android.os.Bundle import android.widget.Toast import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.activity.enableEdgeToEd...