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
2 answers

Does GWP-ASan require an Android 11 Device?

Documentation says GWP-ASan is available on apps that target Android 11 (API level 30) or higher but doesn't mention any requirements on the device. Similarly, the manifest documentation for gwpAsanMode says Added in API level 30 but doesn't mention…
Columbo
  • 6,648
  • 4
  • 19
  • 30
0
votes
1 answer

Android 11 Preview - Facebook Login Not Working

To cut things to the point. I have the Facebook login implemented, pretty much this way: https://developers.facebook.com/docs/facebook-login/android/ And it works perfectly fine when compiled with API 29 (Android 10) But if I compile it with API 30…
0
votes
1 answer

How to move a file from my app's internal storage to the phone's download directory in Android Q (10)?

It seems that getExternalStoragePublicDirectory() is now deprecated, so I need an alternative. Say I have file the foo.png in my app's internal storage. I can easily access this file with val foo = File(context.filesDir, "foo.png") My problem is…
cris
  • 99
  • 8
0
votes
1 answer

Android R new Api isAutoRevokeWhitelisted() always give false even if manually permisssion reset is turned on /off

So on Android R , user can now choose to allow the OSs to revoke given permission if the app isn't using them. This new settings will be available in the permission section of the app setting(check screenshot for reference), by default its turned…
amIT
  • 664
  • 13
  • 27
0
votes
2 answers

Right way of requesting permissions for location coordinates in Android 10

Below code does not work on Android 10 until you manually enable the location from settings. When I go through the Android 10 documentation, it says if you are fetching location from the visible activity, if that was the case you don't need any…
0
votes
0 answers

How do I get notifications of native screen recorder on android11?

I don't want users to record video contents of my application. I'm planning to show users an explanation of the error while the screen is recording. So I want to get notifications when device screen is being recorded by native screen recorder. Is…
Mie
  • 19
  • 5
0
votes
1 answer

Error when Compiling Linux Kernel for Android 11 (R) Beta version 1 with clang-r383902

I am using an Ubuntu 20.04 machine with the newest version of platform-tools installed and (I believe) all necessary dependencies. I created a new directory ~/beta1-kernel-coral and within this directory I cloned the kernel: git clone -b…
John Herwig
  • 39
  • 1
  • 8
0
votes
2 answers

Is there a way to click a hyperlink in the a dialog using an AccessibilityService?

permission prompt image I am trying to use Accessibility to click "Allow in settings" using my application's Accessibility Service. I have looked at the AccessibilityNode, and I do not see anything that's interactable in the TextView. Here is the…
Stephen
  • 29
  • 3
-1
votes
2 answers

Cannot access hidden folder on android version 11 and later devices in flutter

When I try to access the contents of a hidden folder using directory, I get empty contents when trying to access hidden folders (starts with '.'). I've already added Read and Write permission to external storage inside AndroidMainifest.xml. The only…
shyam__
  • 1
  • 3
-1
votes
1 answer

VNC viewer infinite connection

I have a Samsung Galaxy A10s with Android 11 One UI 3. Recently there was a problem: VNC viewers do not work. I enter, for example, localhost:1 (I want to connect to the Termux VNC server), I connect, and the connection window hangs indefinitely,…
-1
votes
1 answer

Mapbox Telemetry issue Android 11

These are the mapbox dependencies I have used in build.gradle file implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-places-v9:0.12.0' implementation 'com.mapbox.mapboxsdk:mapbox-android-telemetry:6.1.0' implementation…
GBEEE
  • 3
  • 1
-1
votes
1 answer

QR Code coming out too blurry on Android 11

I built an Android app that prints out QR codes in 2018 using a 3rd party (Dothantech's LPAPI) SDK. It was run on Android 7 tablets from RCA without any issues. Recently, the tablets were upgraded to Android 11 ones from Samsung. Although my app…
user1114
  • 1,071
  • 2
  • 15
  • 33
-1
votes
1 answer

Unable to read internal storage textfile in Android 11 using Android Java

Hi Guys, i tried to access a textfile in the other application in my /Android/data/com.xxx.xxxxxx/files/ in internal storage using Android 11 but unfortunately in won`t. It works in Android 10 below. It has an error at BufferedReader. Here is the…
Pakz
  • 123
  • 2
  • 15
-1
votes
2 answers

listFiles returns null on Android 11

The following code works on Android 10, but fails on Android 11. Specifically listFiles() returns null. The path does look weird, but it seems to work for other tasks rather than listing files in a dir. class MainActivity : AppCompatActivity() { …
Andrew
  • 71
  • 6
-1
votes
1 answer

How to create directory in android 11 and above like Telegram

I am trying to create a folder in device internal storage like the same way telegram and WhatsApp does in Android 11 and above devices without using manage access all files permission. any reference on how to achieve this.. ?
1 2 3
52
53