Category "android"

How do parental control apps lock the screen?

I am developing an app that locks the screen for some time, just like parental control apps do when the screen time runs out. However, I do not really know how

How to handle Navigation Graph in Nested Fragment of Android

I'm using BottomNavigationView in a fragment and want to show different fragments on tap of each option og that. I'm able to see BottomNavigationView but I'm un

Error "Minimum supported Gradle version is 7.0.2. Current version is 6.8." in Android Studio

An error occurred after I downloaded version 6.8 and the latest version of Gradle. A problem occurred evaluating project ':launcher'. < Failed to apply plug

Is it possible to put background image and curved corner in a button in xamarin android?

I am trying to input an image in a regular button, however it does not show up. My code looks like this <Button android:text="@string/buttonexit"

no ad config with error code 3 in test ads

I have integrated AdMob into my android app and I am using test id to show ads. but whenever I run the app it always goes to onAdFailedToLoad method and I am ge

How to play video from URL in videoview in Android?

I am trying to implement video player in Android using VideoView. I have video uploaded on server I am fetching video from the server and trying to play in Vide

compose NavHost Start the white Screen

My app starts with navigation globally, but I found that when I set the following code, the app will remain blank after startup unless I manually touch the scre

Pair new device over wifi not working in android studio bumblebee

when I try pair device with this, QR code and Pairing code not work and stuck in searching for device... I have phone with android 11 & 12 and Wifi debuggin

How to detect if any part of one view is overlapping another view in android

What I am trying to do: I am trying to determine .... If any part of one view crosses other view What I have done: Usage: isDragOverlap = textView.isOverlap(bu

Jetpack Compose recomposition animation

Is there any easy way to animate Composables appearing/hiding? I tried to implement this using AnimatedVisibility and AnimatedContent, but in my particular case

Layout inspector not showing composables tree

When I use Layout Inspector in a running compose app on a device, I do not obtain the composables tree but the view system tree. How to see the composables tree

java.lang.AbstractMethodError in Firebase Android (FirebaseInstallationServiceClient.readGenerateAuthTokenResponse)

We have this crash that in Play Console has occurred some 1.1million times and counting, with no success figuring out why. The report: java.lang.AbstractMethodE

If I denied the permission of the running app, the app data will disappear

If I denied the permission of the running app, the app data will disappear. The way to change the permission was done in settings. Step. run my app. switch my a

Updated firebase dependency and got duplicated protobuf classes error

I'm getting this error after updating one of my firebase SDKs FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:check

Android 12 Pending Intent Immutable flag not available under API 23

Similar to this question, but not the same After update to Android 12 (SDK 31) we change PendingIntent.getActivity(context, 0, intent, 0) to PendingIntent.getAc

How to build a REACT Native app automatically using GitLab

I am looking for a way to build the APK of my React Native App automatically using a GitLab pipeline, I can't seem to find a solution on the web that does not u

com.android.build.gradle.LibraryExtension_Decorated cannot be cast to (.....).BaseExtension

Objective :
I have developed Test for CodeCoveragePluginForAndroidConnectedTest . Steps to reproduce error : ./gradlew clean build A problem occurred eval

Squared non transparent background on custom input dialog

I have created a custom input dialog for my application, and in terms of funcionality it works, but every time it has a sort of square background which distones

Notify data change on spinner select

I can't seem to get my driver to update through my app. I have tried but with no luck. I have a possible solution but don't know what the adapter is that needs

Is it possible to request change of the AdMob app ID?

I have developed an android application and integrated AdMob using Flutter framework and deployed it. Suppose someone revealed my app ID and does malicious traf