Category "android"

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

Ionic 3 Livereload not working on Android device

In one of my projects where the --livereload flag was working , suddenly the feature is not working but I see Launch Success message on my console. After launch

How to filter data by date and month only in room database and ignoring year

@Query("Select * From Mstudent where (strftime('%d%m',dob)) = :todayDate order by (strftime('%d%m',dob))") List<Mstudent> getStudentByBirthDate(Da

How save file in emulated/0 (android 11)

I have been reading the documentation of the new way of saving files in android 11 and it is not clear to me ... How could I save a file in / storage / emulated

how to avoid repeatOnLifecycle excute again and again when fragment resume

how can I avoid the collect{} code execute again when navigate back to the fragment. ViewModel class private val _commitResult = MutableStateFlow<Map&l

Unexpected token in \android\build.gradle line: 14 : unexpected token: {

When trying to build the project using flutter build apk --split-per-abi I however get the following error: FAILURE: Build failed with an exception. Where: B