Category "android"

Send user to Security Boost speed settings

i am developing an android application an, in order to avoid that the os kill my background service, i realized that the app must to be locked. User could lock

Android - Exoplayer shows blank screen instead of Playing video

I am trying to integrate Exoplayer library to my android app. Below are the following code i have implemented in android app. Layout.xml <?xml version="1.

How to change android jetpack compose bottomAppBar icon tint color?

BottomNavigationBar() can only take the background and contentColor but there is no option for tint color.

Inject context with Hilt: this field leaks a context object

I'm using Hilt to inject context and other dependencies into my HomeViewModel class; Everything is working properly but I'm getting this warning. How can I prev

Inject context with Hilt: this field leaks a context object

I'm using Hilt to inject context and other dependencies into my HomeViewModel class; Everything is working properly but I'm getting this warning. How can I prev

I can't run my deployed Tensorflow Lite Model in Android Studio due to customized model?

I was deploying my Tensorflow Lite model into my Android Studio. The application does run but when after I took a picture and tried to predict the result, the a

The mk files(envsetup.sh, build.sh) become absolute path causes build error

I enforce a strange problem that I never met. So I need help I get the Android for MSM Project code from CodeAurora. But all the mk files link to absolute path

The mk files(envsetup.sh, build.sh) become absolute path causes build error

I enforce a strange problem that I never met. So I need help I get the Android for MSM Project code from CodeAurora. But all the mk files link to absolute path

Query to Android developers who is using QUERY_ALL_PACKAGES permission

I'm a developer of an Android library which requires QUERY_ALL_PACKAGES permission at app targets Android 11 or higher. There was a new policy from the Google P

Recyclerview recreating dynamic chips on scroll

I am creating a RecyclerView which has an item with dynamic chips. I am looping through an array to set the text of the chip, this works fine but when I scroll

Why not use lateinit modifier in Andrioid Fragment view-binding?

In android documentation we have example of view binding without lateinit: private var _binding: ResultProfileBinding? = null // This property is only valid bet

FileNotFoundException when app is updated to Android 11+ MediaRecord.prepare(). "FileNotFoundException open failed: EPERM (Operation not permitted)"

When you install the app for the first time, it works normally without any problems. However, if you update the app while the app is already installed, a proble

How to Imbed NiceHash Website Widget into Android App? Would it be WebView?

I would like to put this Profitability calculator from: https://www.nicehash.com/widgets#profcalc Where the site says to use: <iframe src="https://widget.nic

Invite Android tester to Play Store app without gmail address?

I need to add some internal testers to an Android app I'm developing. Many of them have email addresses which are not gmail accounts, nor associated with a doma

HiltViewModel: Cannot create an instance of class

I am using Hilt. After updating to 1.0.0-alpha03 I got warnings that @ViewModelInject is deprecated and I should use @HiltViewModel. But when I change it I got

Fatal Android 12: Exception: startForegroundService() not allowed due to mAllowStartForeground false

I noticed one exception (Firebase Crashlytics) for Pixel 5 and Pixel 4a (both on Android 12), no other devices, happened only two times, one time for each devic

How to make RecyclerView be always up to BottomSheet and under AppBarLayout?

I have a layout with AppBarLayout which height is set dynamically by adding some margins if the device has the notch, BottomSheetLayout and a RecyclerView. The

How to enable File Upload in a WebView

I'm running a WebView on Android app and now I have discovered that I have a problem when I added a new feature to my website which is to upload a profile image

Flutter WebView doesn't call onPageFinished on iOS

I'm working with webview_flutter in order to Auth my users through Cognito's auth endpoint. This is my WebView: return WebView( initialUrl: url,

Google play can not release app because of verification but there is no problem?

When I come to final step to release app google play console gave me this error You cannot publish applications until you complete ID verification. More details