Category "android"

How to create a group of EditText with aflow between them

I have to create a group of EditText s that each can contains 1 character of a pin code with auto flow between like in the following image - when user tapping

How to remove ripple effect from MaterialCardVew?

How can I disable touch ripple effect of MaterialCardView? Setting clickable attribute to false or playing with foreground and background attributes had no effe

Unexpected lock protocol found in lock file. Expected 3 found 0

In android studio I keep getting this error message when building. I've tried deleting the .gradle file multiple times and restarting the IDE but the error do

Unable to install the SDK tools, finish button is disabled

I am trying to install the SDK tools for Android, i clicked on "Accept" but finish button is disable, how to get out from this problem? here is the snap of what

ViewPager not showing anything - android

I need some advice. ViewPager showing just white page. I have searched much, but I couldn't find solution for my case. I tried to make simple button, but I got

AppDistribution Gradle plugin with Gradle 7

I am using Android Gradle Plugin version 7.0.0-alpha14 and Gradle version 7.0 and when I try to upload the app to app distribution through the Gradle plugin ver

Error: Program type already present: okhttp3.Address

I have added a new jar file as a module and faced with the above issue. I have already implemented okHttp in my apps gradle file. Seems like the jar file also i

how to call function from other fragment class

I'm trying to call this function public void arrowClick() is inside my main fragment public class CounterMain extends Fragment implements View.OnClickListen

Error inflating class NavigationView caused by ResourceNotFoundException

So around 1% of my daily users are haunted with the NavigationView exception which is caused by an image resource not being found. I find that strange, 99% of o

Android AAR native library with header only prefab

I've been trying to create a Android AAR native library with header only prefab without success. We distribute other native libraries we build in Android Studio

Online Comparison of Two Audio Files

so i was hoping to compare two audio files, one I have on my android phone, and one which is the exact same that I wish to record through the microphone. I fee

React-Native-Video disables TouchableOpacity in Android

I am working on a react native app which involves a video player (react-native-video), and some simple controls I set up myself. on iOS this works fine, but on

Set image as wallpaper from url (Glide + json)

app app Hi, thanks in advance to those who guide me. I have a problem with the Set Wallpaper, that when I clicked on the button, I get the following error: 2

Google App is Published on Internal Test Track but Can't Be Found/Downloaded

I've successfully completed the publishing process for an APK to the Internal Test Track. But when I try to view the App for download on the Google Play Store u

How do I fix "Could not connect to remote process" while trying to debug the application?

I am making a android studio project and I try to debug my application. Running the application works fine, but when I try to debug it I get this error: Coul

How to check status of Remove Animations accessibility setting programmatically

I'm trying to check for the status of Remove animations accessibility setting in order to enable/disable some UI and GIFs animations on my app, but i don't see

Google App is Published on Internal Test Track but Can't Be Found/Downloaded

I've successfully completed the publishing process for an APK to the Internal Test Track. But when I try to view the App for download on the Google Play Store u

setSpeakerphoneOn from AudioManager is not changing speakerphone value on android 12, it always remains false. Why?

fun toggleSpeaker(context: Context) { isSpeakerPhoneSelected.value?.let { val audioManager: AudioManager = context.getSystemService(Context.

java.lang.IllegalStateException when using State in Android Jetpack Compose

I have ViewModel with Kotlin sealed class to provide different states for UI. Also, I use androidx.compose.runtime.State object to notify UI about changes in st

Why am I getting DEVELOPER_ERROR response code when connecting my BillingClient?

/** * Invalid arguments provided to the API. This error can also indicate that the application was * not correctly signed or properly set up for In-app Billin