Category "android"

No MaterialLocalizations found - MyApp widgets require MaterialLocalizations to be provided by a Localizations widget ancestor

I was just trying to create an app with button which shows an alert message when the button is pressed. But it gives me this error(Mentioned below). I wrote

Koush ION crashes after Gradle upgrade

After Gradle upgrade ION gives me this error, when trying to send very simple request. It gives me same error on AVD and my physical device. For now I dodged er

Dynamic list of custom items each with edit button. How to button binding?

I tried importing ObjLargeBinding, but idk what to do from there. Do I have to dynamically setOnClickListeners for each objective on screen? ''' import android.

How to get difference of response received time and request made time

i need a difference between response recieved time - request made time.it should print the difference on the screen.for now it shows a button and if we click th

> Could not find com.google.android.exoplayer:exoplayer-core:r2.4.2

I am facing this exoplayer not found error in video android studio application after I updated my project dependencies. I don't know how to update old Exoplayer

How to resolve the error "LifecycleOwners must call register before they are STARTED"

I am using registerForActivityResult for google sign in implementation in my development. Everything was working fine until I upgraded my fragment dependency t

React Native - TypeError: n.createContext is not a function. (In 'n.createContext(o.default)', 'n.createContext' is undefined)

I'm trying to implement React Native into an existing Android application. I follow the steps in the official documentation and I have ended with the following

How to read Android platform key signature programmatically

I need to read the signature of the platform key, which signed the whole build on the device. Currently, I can read the signature of an arbitrary package like c

Store a variable in Android

Is there any way to have a boolean that goes true when successful login and false when not, and to be able to access it and change its value in the activities?

why fingerprintsimilarty in my code does not work?

I'm creating an application to recognize the sound of two wave files, for doing this I have found that "Musicg" library is used for that purpose. so I just writ

Keep webview playing audio in background

I have a simple webview that open a music player from my website that works fine, but my problem is to keep the player playing in background when the phone lock

Does ExifInterface.TAG_SHUTTER_SPEED_VALUE really measure shutter speed? If so, how to convert it to a more standard format?

I'm trying to get camera shutter speed when a photo is taken with Android camera. Using this instruction in an image the app creates that contains the taken pho

How to call custom uri using content provider kotlin

Basically what i want to call a SOS number using the android content provider from a smart watch. I have searched a lot but not able to find the correct path to

how to display floating window without permission?

i tried to display floating window in android 10 / Core M01 using WindowManger, but i am not able to get "Display over apps" permission:- i tried to use "Windo

How to get error message in api call response in ktor

I am learning Ktor. I want to print error value or exception. I have taken some piece of code from this post. I don't understand this post answer fully. ApiResp

Android 12 - Foreground service launch restrictions

I'm developing an SDK that needs to startForeground service from the background. Because it uses background location and Bluetooth-related works. If the applica

Updating notifications after being added

I want to update the content for a reminder after it has been added before being received by the user. After setting a reminder through AlarmManager using the d

After upgrade android version getting "Duplicate class android.support.v4.app.INotificationSideChannel"

before android update 3.4 my application run perfectly but after upgrade android my application getting merging error: "Duplicate class android.support.v4.app

App/Scaffold white background changing issue in Jetpack Compose

Can anyone please point me out how to change this white background color of the app? Setting a color or background color on the Surface is having no impact. I'v

1 files were skipped because there was no net space savings

I am trying to convert a PNG image file into a webP image file. but it gives me an error even my application minSdkVersion>19 but i don't know why its give m