Questions tagged [android-13]
247 questions
1
vote
1 answer
Facing a high ANR rate in android 13 devices
I have a critical issue in my Android application. I am facing a high ANR (Application Not Responding) rate, which is occurring exclusively on Android version 13 devices. Despite exhaustive attempts, I have been unable to reproduce the ANR…

Govind Jha
- 11
- 3
1
vote
0 answers
Android 13 Adding .nomedia to a folder with Permissions, make media inaccessible
When a folder is given permission to read/write a folder and .nomedia file is then added to that folder. The media files are then not accessible to the user. The .nomedia should only hide the media files from the Gallery App or other Apps, not from…

MuskokaGeek
- 21
- 3
1
vote
0 answers
Android 13 Foreground service is stopping when app is in background with battery Restricted
In Android 13, Foreground Service is stopped when the application is background and battery is restricted. This happens after a minute or so.
As per the Android developer guide the current running services will be stopped and new services will be…

NikhilReddy
- 6,904
- 11
- 38
- 58
1
vote
1 answer
How to add new permission requires only on Android 13?
I would like to add this permission from documentation on Android 13.
https://developer.android.com/develop/ui/views/notifications/notification-permission#new-apps
Could I…

christianalready
- 35
- 5
1
vote
2 answers
Android 13 storage permission issue: Cannot take pdf uri
User clicks to the button and the file browser opens. I need user to choose the pdf file only.
According to the official documentation Because the user is involved in selecting the files or directories that your app can access, this doesn't require…

Aytaj
- 67
- 6
1
vote
0 answers
Does the Android SDK 33 have a dependency of Expat 2.4.8?
I am compiling my android application using the Android SDK Platform 33. When running static analysis of the apk I am seeing references to the library Expat version 2.4.8. This version has a known vulnerability and I would like to have the newest…

grant22
- 11
- 2
1
vote
3 answers
How to save file to storage (android 13 - API33)
I'm doing screen recording function for my app. So, I need save video mp4 files to external storage. My function active on API 29 and below, but not working on API 32 and above. Please show me steps to resolve this problem.
I followed to this source…

WilliamVietnam
- 37
- 8
1
vote
0 answers
How to request runtime permission for PDF in android 13(API level 33)?
I am trying to access a PDF file from external storage, but the request for runtime permission to access the PDF file is not working on Android API level 33 (Android 13). Could you please provide a solution that works across all Android API…

Waseem Idrisi
- 11
- 3
1
vote
0 answers
Logcat flooded by Minwook devBounds
today i updated my Samsung A53 to Android 13 and after this when i debug my app the logcat gets flooded by the following message
2023-05-11 16:00:08.936 3766-3892 skia package.name D Minwook devBounds(70.2) Offset.fX(-6.4)
Does anyone know…

Lars
- 794
- 7
- 21
1
vote
0 answers
Local Notifications are not showing in android 13
I have an app which uses notifications and everything is working fine below android 12 but on android 13 doesn't show the notifications. I have also added notification permissions but I can't figure out what is wrong any suggestions would be really…

John doe
- 106
- 11
1
vote
0 answers
WifiManager.ACTION_PICK_WIFI_NETWORK not working on Android 13
Background
We developed an enterprise app using Android Studio that runs in the foreground that restricts user access to any standard android functionality like changing the wi-fi connection etc.
We use the code below to allow the users to change…

ThereBeDragons
- 19
- 4
1
vote
1 answer
Android 13 FileProvider: Unable to access file descriptor from URI despite granting temporary permissions
For some time we have been using the FileProvider APIs to reading/writing a file in App A's internal data directory (/data/data/app.a.package/files/someFile) from App B using a BroadcastReceiver. Here is a flow of the communication between the…

jimmy_sprinkles
- 31
- 5
1
vote
1 answer
LocationManager isProviderEnabled method always returning false in Samsung Android 13?
I am using this code to check if location services are enabled
public static boolean isLocationsEnabled(Context context) {
LocationManager lm = (LocationManager) context.getSystemService(Context.LOCATION_SERVICE);
return…

jaroos
- 41
- 3
1
vote
2 answers
How to find all deprecated API for Android 13
In our app, we are increasing targetversion from 32 to 33 in Android. I checked google documentation. I didn't get complete list of APIs.
for example: mBluetoothAdapter?.enable() is not working for Android 13 however it is working for tragetversion…

Aman Srivastava
- 1,007
- 1
- 13
- 25
1
vote
0 answers
NonSdkApiUsedViolation in common functions like setContentView
I have a project that I'm migrating to API 33. I'm trying to detect non sdk api usage using this line:
StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder().detectNonSdkApiUsage().penaltyLog().build());
I'm receiving NonSdkApiUsedViolation in…

NullPointerException
- 36,107
- 79
- 222
- 382