Questions tagged [android-api-30]
30 questions
0
votes
0 answers
Android. How to get the bounds of the area associated with this window?
I have code to get the bounds of the area associated with this window:
context.getSystemService(WindowManager::class.java).currentWindowMetrics.bounds
But this code requires API level 30, my min is 21.
Is it possible to do the same but for api 21…

testivanivan
- 967
- 13
- 36
0
votes
1 answer
Cannot kill recent task manager when Make home launcher application
I try to make home launcher application with this in manifest.xml

user3666070
- 15
- 6
0
votes
1 answer
Android >= 11 navigate between folder to find file without manage_external_storage permission
I have an app that have to update some machine firmware.
Until targeting API 29 there are no problem, now Google Play Store need to target at least API30... and the struggle started.
The file manager picker I've used is no more compatible…

Fenopiù
- 87
- 1
- 1
- 8
0
votes
1 answer
How use "android.net.wifi.NetworkSpecifier.Builder" with jnius?
The issue is:
I was using "android.net.wifi.WifiConfiguration" for connecting to WIFI like this:
Correctly Working.
from jnius import autoclass
ssid = str("ssid_name")
print("app says-->connecting to wifi:",ssid)
String =…
0
votes
0 answers
How to forget wifi network programatically in android targeted sdk 30
I want to forget the wifi connected network from the device.I gone through most of the code but they are not working.
public void disconnectWifi(){
Log.i(TAG,"In disconnectWifi()");
WifiInfo wifiInfo =…

gopssays
- 41
- 7
0
votes
1 answer
How to change status bar color of AppCompatDialogFragment in Android 11 (API level 30)
I want to change the color of status bar to match the toolbar. I have try as many as possible code from other answers, and still not working. This code is working in Android 10, but not in Android 11. The code below provide me with a translucent…

Wachid Susilo
- 496
- 4
- 11
0
votes
0 answers
How delete Folder on Android API 30 and API 29
I created an app that creates folders based on the user's name, and there is an option to delete those folders, and even delete pre-made folders without my app.
My app works well on Android 8, 8.1 and 9, but it is different in newer versions of…

Matin
- 61
- 7
0
votes
1 answer
I need to install Android API 30. But I cannot see that API in the SDK platform list in Android Studio. How can I install it?
I need to install Android API 30. But I cannot see that API in the list. How can I install it?

Jobin10
- 11
- 1
- 3
0
votes
2 answers
get parent activity by a fragment
I'm currently having two activities, MainActivity and ResultActivity and both of them will use the same fragment - Favorite.
my question is:
How to know which activity is containing the fragment? For example I have a fragment A inside activity…

xxddd_69
- 83
- 1
- 7
0
votes
3 answers
Concerns about the FILES AND MEDIA PERMISSIONS on Android as a developer
I'm developing an app that saves data into a database, I'm trying to backup and restore that database which I am able to do, my issue is with the "ominous" permmission popup on API30+
Allow management of all files
Allow this app to access modify and…

B-DK
- 35
- 6
0
votes
1 answer
SecurityException in android 11
My android apk which was running nice on android 10 and previous version, but in android 11 my app getting crash as soon as I download it from google play store, It show only splash screen and then automatically app getting crash
I had given…

Akshay Malvankar
- 1
- 1
0
votes
1 answer
Nativescript WebView on Android API 30 yields ERR_ACCESS_DENIED
I have a NativeScript 6.8 JavaScript app that uses WebView to display an html string composed within the app that references local image files. The Google Play Store is forcing me to support API 30, and when I do, the WebView fails…

David
- 578
- 3
- 16
0
votes
2 answers
Cordova [Android platform] migration from API 29 to API 30
I'm trying to migrate my mobile app (developed with Cordova and AngularJS for Android and iOS platforms) and I have some issues from API 29 to API 30. In my app I download from a REST service a JSON catalogue with separated pictures (JPG format)…

Fabiano Spinelli
- 3
- 3
0
votes
1 answer
Android intent.resolveActivity returns null in API 30
In our app we have payment gateway implementation. We are opening intent to open GPay, PhonePay, Paytm and other apps. Please find the below code snipped,
String url =…

Amit Yadav
- 32,664
- 6
- 42
- 57
-1
votes
1 answer
In Android 10, is it possible to reboot or shutdown automatically?
I know that many callbacks are blocked at API 30 level.
I am trying to develop it for the purpose of using it for the DID panel, not for the purpose of uploading it to the Google store.
I want Android to turn on the screen at 9:00 in the morning and…

ravaenee
- 1
- 3