Questions tagged [android-11]

For questions regarding programming in Android 11 (a.k.a., Android R), the primary 2020 version update for the Android OS.

Google released the Preview version of Android 11. Android 11 features [link][1]

https://developer.android.com/preview

796 questions
0
votes
1 answer

Okhttp exception java.lang.AssertionError on Android 11 sdk 30

I use com.squareup.okhttp3:okhttp:4.4.1 but when should the messages from firebase in app messaging be displayed (when the app starts) the app crashes on 11 android. Okhttp in mainactivity I don't use at all. Use…
0
votes
1 answer

How To Create Directory in Android 11

I want to create a Directory in android 11 and save a PDF file in it. android:requestLegacyExternalStorage="true" this tag only works in android 10 but not working in android 11.Here is the image of error
Muhammad Asad
  • 694
  • 6
  • 10
0
votes
1 answer

Android 11 Access Android/data and Android/obb using flutter

Does anyone know how to access Android/data and Android/obb folder of Android 11 using flutter? Just for your information: according to scoped storage policy of android 11 each app can access its own data and obb folder only. but somehow there is a…
0
votes
0 answers

How to force the system to connect to a passpoint on Android 11?

The problem that I'm facing is that I have a Passpoint configured, but the system seems to not connect to that Passpoint. [...] final WifiNetworkSuggestion.Builder builder = new…
Raluca
  • 41
  • 5
0
votes
1 answer

(Android 11) How do I allow an app to access a file in another app's Android/data folder?

I have two apps. One app (P) consumes a file with a proprietary extension (say .XXX) and a .json file with instructions for what P will be doing with that other file. The other app (Q) creates those files and intents to P, telling P the path to the…
eriyg
  • 99
  • 1
  • 12
0
votes
0 answers

Can we create folder in android 11 anymore?

In one part of my app i need to save captured pictures by user and place them in a folder i want to create so i can query that folder later and pick the last picture in it and show it to user as an overview. i know that i can save pictures in public…
erfan
  • 81
  • 1
  • 11
0
votes
1 answer

Difference between system_current and current for the vairable LOCAL_SDK_VERSION in ANDROID.mk?

Our application should be built along with Android build and moved to the system partition. But we were using hidden api and so we added the variable LOCAL_PRIVATE_PLATFORM_APIS := true In the current Android 11, we removed all the hidden api from…
0
votes
1 answer

How to access folder in android11 programitically?

I want to write a code in kotlin (android11) that opens the internal storage directory so that I can select a pdf file from that directory. But due to restrictions, I can't do this. Please suggest to me a way to do this. Thanks in advance.
0
votes
1 answer

How can I persist a file in android 11?

I want to persist a file even after uninstalling my app in android 11 . Thanks to android 10 and 11 update about the storage I'm not able to do that any more . Also I don't want to use Data backup or a remote server .It has to be offline. any…
user12619138
0
votes
1 answer

application specific directory is not created in external storage directory in android

my application name is "com.example.storagecheckapp" 1)I have install the app using command "adb install storagecheckapp.apk" Checked whether the application specific directory get created in storage directory .But the directory is not created by…
0
votes
0 answers

Unable to get runtime permission to the storage directory in android 11

My project storage directory : /storage/emulated/0/Android/data/myprojectapp issue : am to get the storage access of my project directory in the runtime Added below mentioned permission in the AndroidManifest.xml
0
votes
1 answer

ADB cmd to get IMEI 2 is not working in android 11

I used to get both IMEIs of the dual sim device via adb using the following cmd and it was working fine. To get IMEI 1: adb shell service call iphonesubinfo 3 | awk -F "'" '{print $2}' | sed '1 d' | tr -d '.' | awk '{print}' ORS= To get IMEI 2: adb…
Martin
  • 1
  • 2
0
votes
1 answer

Android 11 image saving issue

The below function was working properly in android 10 but after updating to android 11 it does not work in apache cordova-phonegap function clickPhoto(source) { navigator.camera.getPicture(onPhotoURISuccess, onFail, { quality:…
0
votes
3 answers

Error when get file path of file in Android 11

when I get file path of file in Android 11 . protected File getOutputMediaFile() { String timeStamp = new SimpleDateFormat("ddMMyyyy_HHmmss").format(new Date()); ContentValues values = new ContentValues(); …
Mr Robin
  • 53
  • 1
  • 6
0
votes
2 answers

Noozxoide EIZO-rewire™ PRO crashing under Android 11

since I´ve downloaded the Android 11 update (Samsung Galaxy S10e; also tested with Android SDK´s Emulator running Android 11, same results), the DSP app "Noozxoide EIZO-rewire™ PRO" is always crashing when started. I know that this app was developed…