Category "android"

LazyList memory leak in Jetpack Compose

I found out that LazyList generates memory leaks. When I scroll down to the bottom of the list memory usage by my app increases by ~3MB. After I scroll up and u

Dagger hilt predefined components for non android scopes

I have the following module that is used in the data layer of my application which is a plain Android Library. @Module interface MapperModule { @Binds f

Is "@Keep support annotation" rule in proguard-android-optimize.txt still applicable when using AndroidX?

It is common to apply proguard-android-optimize.txt as proguard file. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-project.

Error on Unity Android Build - Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0

This question have been asked before but I am looking for solution for Unity platform. I tried to export project , had it opened on Android Studio but Gradle sy

cannot add navigation dependency

I am trying to Add Navigation in my project but its showing failed to add Navigation dependency, when i click on 'ok' in the window to add these now , its showi

Jetpack compose - how do I refresh a screen when app returns to foreground

I need to automatically refresh an Android Compose screen when the app returns to the foreground. I have an that requires permissions and location services. If

Meaning of open testing in playstore

I recently published an application to production mode on the play-store, the app status has changed from review to open testing, what does this mean? Might I h

For example, I need it to run as long as the values in the table day = Value 1 and in the table gender = boy

How to force execution in a "While" loop until it reaches a certain value in the database table. For example, I need it to run as long as the values in the tabl

How to programmatically uncheck a checkbox in Kotlin

I've got two checkboxes and I need to uncheck the other checkbox if the first checkbox was clicked. Right now if a user clicks on the second checkbox and then o

Flutter image_picker crashes when opening camera

I'm trying to use image_picker on Flutter and it works perfectly on Android emulator. But when I try to use it on my real device, it crashes when I clicking the

How to hide the default android webview progress bar?

i work on an app that displays a page through a webview. I have implemented my own progress bar and it works fine. However i cannot get rid of the default andro

Return fingerprint and save in firebase

I am trying to write an app using flutter or android studio. The user will login to the app using his fingerprint. I want to read the fingerprint and save it in

Override done button functionality inappbrowser

Is it possible to override done button functionality? i need to just hide inappbrowser on done button as when show same the last visit url next time.

BATTERY_OPTIMIZATIONS not working even After Granting Permission from BATTERY_OPTIMIZATIONS Dialog in some Vivo,Oppo Devices

This is my Code:- AndroidManifest.xml <uses-permission-sdk-23 android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS"/> Java side: if

How do i add registered username in android application to SMS?

I'm currently developing a GPS Live Tracking Android Application. So the function of the application is to send a SMS to the admin mobile number using the regis

Install APK by programmatically Xamarin.Forms (Android)

So far my code looks like this: 1. Dowload the APK file and save it into internal storege: Using DependencyServices App.xaml.cs IDownloader downloader = Dep

How to identify the HDMI port and TV switch in android programmatically?

I want to know how to handle the HDMI switch to TV's home events. I have developed an app with exoplayer for FireTV. Issue is when I switch between HDMI port an

How to fix "Android resource linking failed" error in Android Studio?

I just started learning and working with "Android Studio" software and editing a project. It took too long to figure out how to work with that. I just fixed man

Build android.Why say "Missing nullability on parameter..."

I want to add my animation in android. First I copy TranslateAnimation.java to MyAnimation.java, and change class name. But Android build failed. error message:

Android - listFiles() doesn't list some files

I'd like to make an Android app to list files and their size, a bit like WinDirStat or TreeSize on Windows, or DiskUsage on Android. I tried this to get a list