Category "android-12"

How to implement New Media Storage API to store file in Android 11 and 12?

i am trying to store the video on Device Storage and showing video in app but android version like 10,11 and 12 it is showing error that not able to create fold

FileObserver not working on Android SDK 30

I am working on an android application where i have used FileObserver to get data changes on a specific folder. The folder is WhatsApp Images and whenever there

Android 12 Pending Intent Immutable flag not available under API 23

Similar to this question, but not the same After update to Android 12 (SDK 31) we change PendingIntent.getActivity(context, 0, intent, 0) to PendingIntent.getAc

android:exported needs to be explicitly specified for <activity>. Apps targeting Android 12 and higher are required to specify

After upgrading to android 12, the application is not compiling. It shows "Manifest merger failed with multiple errors, see logs" Error showing in Merged mani

Firebase Push notification not receiving on Android 12

My Xamarin.Android app's push notification only works on Android 11 (Pixel 3 XL). Currently my app targets Android 11, however it also runs on Android 12 (Pixel

Android 12 is blocking the touches when using the <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />

I am using <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" /> to show a pop up which overlay over other apps but android 12 is bloc

processDebugMainManifest FAILED, I am facing this error while using targetSdkVersion as 31

/Users/paradox/Developer/nturing/services/otus/scanner-android/app/src/main/AndroidManifest.xml Error: android:exported needs to be explicitly specified for

take picture just in Android 12 the result code is zero

I try to take the picture Uri in the onActivityResult() and i'm get resultCode == 0 only on Android 12. on all the other devices I tested it works fine. this is

Targeting S+ (version 31 and above) requires that an explicit value for android:exported be defined when intent filters are present]

While debugging the application in android 12, the app is getting crashed.

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

Trying to get the dynamic link that opened the app on Android 12 gives incomplete link

I am creating a share button for a post on the feed. I am generating a unique link using Firebase Dynamic Links with a custom parameter at the end. On Android 1

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

when 2 frame layouts are stacked, only the bottom layout is visible in Android 12 devices

I'm creating a video call app using DeepAR and Agora, I created a video call UI with framelayout (Local view) on top and another framelayout (remote view - full

Flutter Android 12 install error when using intent-filter

I'm struggling with the error below. adb: failed to install F:\xxx\src\FlutterDemoApp\FlutterDemoApp\build\app\outputs\flutter-apk\app. apk: Failure [INSTALL_PA

Material Design 3: How to make Toolbars the same color as primary surface?

I'd like my Android app to have toolbars the same color as the primary surface (and the status bar -- which is already the primary surface color out of the box

App crash when It makes API call using Retrofit on Android 12 API 32

Can anybody help me please. I already have added FLAG_IMMUTABLE flag to all pending intents for supporting Android 12, but when try to call any API using retrof

App crash when It makes API call using Retrofit on Android 12 API 32

Can anybody help me please. I already have added FLAG_IMMUTABLE flag to all pending intents for supporting Android 12, but when try to call any API using retrof

Getting IMEI number using ADB commands Android 12

For android versions before 11 I was using the below command to get IMEI number from my device: adb shell "service call iphonesubinfo 4 | cut -c 52-66 | tr -d '

Android 12: Redirect to Alarms & Reminders settings not working

I want to show snackbar to user, if he has Alarms & Reminders turned off in my App (since Android 12 its mandatory to have this settings enabled in order to

Setting the mutability flag in PendingIntent on Android 12 when prompting phone number

In Android 12, it is required to specify the mutability of the PendingIntent. In the signing screen the HintRequest class is used and PendingIntent is returned