Category "android"

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

React Native android FormData response goes to catch block after .json()

I'm trying to POST data with FormData to get a response, on iOS it works as expected, but on android, it always goes to the catch block, I found out the reason

Custom view custom attribute not being set without @{}

So I've got a custom view with this attribute: private var mLabelText: String = "DEFAULT" var labelText: String set(value) { if (mLa

Android Studio Chipmunk Logcat auto selects "Scroll to the end. Clicking on particular line will stops scrolling" when changing process view

My application crashes for some reason. And then another instance is raised. But I want to view the crash logs in Logcat. The [DEAD] proces is visible on Logcat

Firebase Auth getCurrentUser() retrieves a deleted user

Hello and thanks for your time. I've been working on an android app using Firebase. I've set up Firebase Authentication and the user can register with email a

Xamarin.Forms Android Write in External Storage SOLVED

I am a very beginner with C#, and I definitely need your help. I am trying to create/Open/Write a .txt file in the External Storage, but I can not set the path

How to fill the spinner with a custom object with coroutines and implement your onItemSelected logic related to that object?

For example, let's use this class: data class Person ( var id : Long, var name: String, var imageUrl: String ) I need to fill my spinner with name

ERROR: The GPU does not support this version of OpenGL ES, try an older version in flutter

I/Adreno (21484): ERROR: The GPU does not support this version of OpenGL ES, try an older version D/skia (21484): Shader compilation error D/skia

New line \n in Spanned from JSON block not displaying

In Android, I'm trying to take a string from a JSON response and display it on the screen. The text may contain HTML tags, links etc so I use Spanned and it ren

How to add existing fragment from inside Compose

I want to open an existing fragment from compose or if i can add inside the same compose in full screen, that will also work. Also how to navigate from one exis

Access denied finding property "ro.vendor.df.effect.conflict"

Hi i am doing audio recording its throwing me an error. i am not able to figure it out can some one help me. 2021-01-24 19:21:53.708 4661-4661/com.koteswara.med