Category "android"

How to call another navgraph fragment from another nav graph without lossing current destination in andorid

I have Two navgraph inside my project graphA { I have some fragments inside my ( Graph A ) login fragment ( this fragment set as home ) and signup fragment } g

Android 12 Work profile device identification

With the latest changes in Android 12, there is no way on work profile to obtain any kind of device identifier. In this post specifies to use the Enrollment ID

I want to create AR app in UNITY the uses GPS, but the sensor is jumpy

On one hand i have the image-based AR that Unity provides me, which is amazing in making things seem as if they are actually around my in the real world. Proble

Time Selector- Jetpack Compose

I am trying to develop a time selector ui as given below. But i m not getting any idea what is the best approach to it. tried using lazy columns and android vie

Update the Android Gradle plugin to version 3.2.0 or higher / generate Flutter signed APK

I'm developing a flutter cross-platform supporting app using Android Studio. Now I'm trying to generate signed APK for app-release but I face this following err

Why mediaPlayer.stop(); is not working here?

[AS] I've loaded two sounds that can play and overlap with no problem, however I can't seem to stop or pause them. In its current state, the stop button only w

material slider and range slider tooltip not always visible

i wanted to keep the tooltip value visible always and also the text of tooltip should be background transparent. i tried https://github.com/material-components/

on back press splash screen showing instead of last opened screen

I am making one android application. When i open the app splash screen showing and then it goes to mainactivity. now if user will press the back button and open

Why does phone state listener get fired multiple times for same state for one call?

I am working on fetching recent call log as call get disconnected(outgoing , incoming) either answered or unanswered. I am using Phone state listener to fire

Android Studio Error when Creating a Project with a Google Maps Activity

When I create a new project in Android Studio with a Google Maps Activity I get the following error when I do the initial build of the project: Manifest mer

Allow insecure protocols, android gradle

I recently updated my android studio to Arctic Fox and got an error in my project A problem occurred configuring root project 'so10'. > Could not resolve all

How to show error message in OutlinedTextField in Jetpack Compose

I need to show error message in OutlinedTextField and I don't find any documentation about how to do it. I found several ways in tutorials, for example to creat

App not retrieving images from firebase realtime database in android studio with Java

Please I want to retrieve images with text from Firebase Realtime Database to a RecyclerView using a CardView which contains ImageView for the image and two Tex

GL_INVALID_FRAMEBUFFER_OPERATION: Framebuffer is not complete or incompatible with command

i have made a 360 image viewer on unity and i am changing image texture dynamically using c# script , so its work fine on PC unity but when i run it on android

Failure [INSTALL_CANCELED_BY_USER] on Xiaomi device

I bought a Xiaomi Redmi 4x yesterday and I can't debug my apps in this device. I already enabled the Developer Options in the device, switch on to USB Debuggin

flexiprovider conflicts with bouncycastle when retrieving keys from string

I have been using a solution, provided in bellow, to encrypt/decrypt using Flexiprovider for a while. The solution works on galaxy s5 and s6. However, in s9 it

Updated to Android Studio Arctic Fox and now I am stuck with "Execution failed for task ':app:kaptDebugKotlin'"

Just updated to Android Studio Arctic Fox on Mac, and after fixing and updating all Gradle settings to make it compatible with Gradle 7.0 and anything this new

How to show error message in OutlinedTextField in Jetpack Compose

I need to show error message in OutlinedTextField and I don't find any documentation about how to do it. I found several ways in tutorials, for example to creat

Is it possible in one Java file to mix Java code and Kotlin code

Android Studio 3.4.2 in build.gradle: buildscript { ext.kotlin_version = '1.3.41' repositories { google() jcenter() } d

Cause: error=86, Bad CPU type in executable M1 Macbook (Android studio)

When attempting to run the emulator on android studio I receive the Cause: error=86, Bad CPU type in executable error message. I'm using the most up to date and