Questions tagged [android-10.0]

Android 10 (API level 29), formerly known as Android Q, is 2019's major Android OS update.

On March 13th 2019, Google released the beta version of Android Q. Android Q features link

980 questions
0
votes
1 answer

Determine existing file access permissions on Android Q

I am reading and writing to files and directories from native C++ code. The standard way for getting file access is to use the Storage Access Framework in Java and then use the file descriptor in the native code…
0
votes
1 answer

How to create a folder and store all files generated by my app in that folder in android q

In my app, I am saving files of different types of images, videos, pdf, etc. I am creating a directory if it does not already exist and saving the files generated by my app in that folder so that the user can easily find the files used and created…
ANKIT
  • 87
  • 1
  • 8
0
votes
0 answers

How to keep image in it's original form when dark mode enabled

I just created a media application for android. When user play a song it shows title and image in a notification. I have a problem when user play a song in android built in dark theme (android 10) then notification image got inverted. How can I get…
virgo
  • 61
  • 1
  • 6
0
votes
0 answers

Vibrate in BroadcastReceiver in Android Q

I have created an alarm app years ago, it vibrates in background (while app is closed), using Alarm and BroadcastReceiver. But now in Android Q (v10), I can't start vibrate from background and I should run a foreground service. The new problem is if…
AVEbrahimi
  • 17,993
  • 23
  • 107
  • 210
0
votes
2 answers

Calling onCreateOptionsMenu manually in Android 10

Is there any way to force framework to call my fragment's onCreateOptionsMenu method. What my issue is I am doing some work in onResume() method which is taking some time. @Override protected void onResume() { …
0
votes
0 answers

Backup and restore between flavors on Android 10

I have a relatively old game which currently uses Lollipop target and I want to target the latest API level. It has a backup & restore functionality which uses the external storage, it exports preferences and game progress into a single file on a…
0
votes
1 answer

SQLiteOpenHelper in an external application directory for Api 29 (Android Q)

How can i do the following situation for android Q (Api 29)? My intention is to keep in a directory that will continue to exist after uninstalling the application. It has the following class with its constructor: public class SqlHelper extends…
Murillo Comino
  • 221
  • 3
  • 11
0
votes
0 answers

How do I access `Images in Pictures folder (Public Directory)` from `webview` in Android Q?

I'm migrating a WebView Application. But I couldn't find a way to load Image in Pictures folder in Android Q. I can't use MediaStore in Webview. what should I do?
aucd29
  • 476
  • 4
  • 6
0
votes
3 answers

Android Q access non-SDK interfaces - Landroid/widget/AbsListView;->mSelectorPosition:I (greylist-max-p, reflection, denied)

need one help any way we can use old API in Android Q. I am facing this issue in https://github.com/diegocarloslima/FloatingGroupExpandableListView All works fine till Android P How can I enable access to non-SDK…
Mahesh
  • 1,559
  • 6
  • 27
  • 57
0
votes
1 answer

How can I recover my phone screen after testing foldable emulator?

Android Q(10) is coming. So, I am corresponding to the OS. So, I downloaded FoldableEmulator.apk here in the Samsung Developer website. After installing & granting the two permissions in the document, I opened the app on my device and a pop up comes…
c-an
  • 3,543
  • 5
  • 35
  • 82
0
votes
1 answer

ContentResolver invalid column error on Android Q (SDK 29)

Our Android application relies heavily on queries on the ContentResolver to get and manage photos and videos stored on the device. We are aware of the obvious changes in Android Q regarding the DATA fields and the scoped storage. However, we…
mAx
  • 546
  • 1
  • 6
  • 17
0
votes
1 answer

How to get an event for wifi getting enabled or disabled

What is a way to listen and receive an event when Wifi is enabled or disabled on Android? Note that I am not looking for connectivity to the internet. I am just looking for an event which says wifi in the wifi settings was enabled.
0
votes
1 answer

Did anything change with Drag and Drop in Android 10?

I have a drag and drop function in my app that allows a user to move card images around on the screen. This functionality was working on all devices until it was tested on a Pixel device running Android 10. Now the DragShadow of the touched object…
usajnf
  • 522
  • 3
  • 11
0
votes
0 answers

Sharing Config Files Across Apps - Android 10 and Beyond

My company has three different Android apps that provide functionality for sales reps. We opted to separate the apps into "modules" because not all reps need all the modules. Up to now we have been using a JSON file in a directory on the SD card of…
0
votes
0 answers

Android app is not opening in Android 10 version, released on 3 Sept 2019

I tried to install my app on new version of android released on 03 Sept 2019. Its android 10 with API level 29. min version : 16, targeted version 29 tried with 26 too. Log is, Not late-enabling -Xcheck:jni (already on) Unknown bits set in…