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

Installing my projects apk fail on real device (android 10)

I'm trying to install my projects apk file on my phone but it fails with an error - Cannot open file. Install apks from unknown source is turned on. The app I'm using (Total commander and Dropbox) has permission to install apps. Play protect is…
kodlan
  • 561
  • 8
  • 23
0
votes
1 answer

How to clear action type notification on action click in android Q?

In android 10, I am using reply type notification. I want to clear that notification on reply action. To clear the notification I am using this code: val notificationManager = …
0
votes
0 answers

how to get IMEI number from device using c code android

I need to get IMEI number using c code into android. I tried using command but didn't get success. Does anybody know how to get IMEI number using native code? I tried this command adb shell service call iphonesubinfo 1 and service call…
Priyanka
  • 3,369
  • 1
  • 10
  • 33
0
votes
1 answer

problem having accessing files in android 10 :- android studio

Android 10 is not letting me access my files from external storage. In android 9 my app was working fine.I updated my phone from android 9 to android 10 and my app stopped responding. main_activity.java File directory; File path; File[]…
0
votes
0 answers

How to track down the code requesting location in background on Android

I have an android app that shouldn't request location in background. But I do see a reminder. Most probably it's some library, can be facebook sdk or similar. How can I find, which one? The best way would be to crash internal builds, then I will…
0
votes
1 answer

Android 10: Open an activity using Firebase Message when the app is closed (dead)

I have an app that launches an activity on receiving an FCM message. Here is the onMessageReceived: @Override public void onMessageReceived(RemoteMessage remoteMessage) { try { Trace.v(TAG + "onMessageReceived() from: " +…
ssk
  • 9,045
  • 26
  • 96
  • 169
0
votes
0 answers

Java Haversine formula implementation issue

I am developing an Android 10 application on Java, in which I have to calculate the distance between two locations, but I've faced an issue. The output is supposed to be as a set of distances between the points from the database. The coordinates are…
user12595845
0
votes
1 answer

how to make nomedia file in Android Q

Android Q could not create file on public directory. is there has any way to make nomedia file on public directory? without below code android:requestLegacyExternalStorage="true" or is there has any way to hide media file on gallery thank you.
sun
  • 13
  • 4
0
votes
2 answers

CallScreeningService getExtras NULL on Android 10 API 29

I am using the Android Class CallScreeningService onScreenCall(Call.Details calldetails) to get all incoming calls and everything works fine! From now I have an error, that on Android 10 devices the function calldetails.getExras() and…
0
votes
1 answer

UiModeManger not changing theme on Android 10

When I try to change theme of system using Android UiModeManager on Android 10 nothings changing while it's working on Android versions less than 10. ` UiModemanger uiMode = (UiModemanger)…
Noyal Jose
  • 11
  • 2
0
votes
1 answer

Android 10,huawei mate30 ,When I jump from the app to the APN settings page, there is no data!

When I use this way to jump to the APN settings page: intent = new Intent(Settings.ACTION_APN_SETTINGS); int subId = getDefaultDataSubId(); intent.putExtra("sub_id",subId ); startActivity(intent); it like this: intent way But it's normal when I…
nan
  • 1
  • 1
0
votes
1 answer

Android Q : Read audio file from folder path

I have an audio file in the folder path /storage/emulated/legcy/Download/play.mp3 Previously from getExternalStoragePublicDirectory I used to read the song but it doesn't work right now
Rahimian
  • 106
  • 1
  • 7
0
votes
0 answers

Persistable permissions for content uri received via onNewIntent

I want to gain persistent read access to files received via onNewIntent(): public void onNewIntent(Intent intent) { Uri uri = getIntent().getData(); getContentResolver().takePersistableUriPermission(uri,…
Hyndrix
  • 4,282
  • 7
  • 41
  • 82
0
votes
1 answer

Android 10: 3-button navigation is obscuring bottom of the screen

I have had feedback from Pixel 3/4 users that the bottom of the screen on this app is cut off, obscuring buttons and possibly other controls that the user requires. This has only started happening on Android 10. The app contains both…
0
votes
1 answer

SECNamedCurves.getByName("secp256r1") showing NoSuchMethod exception in Android Q

When I generate public key by using ECDH_KeyGeneration.getPublicKey() in robovm library. it throws an exception - NoSuchMethodException. This problem occurred in Android Q only . till android pie it is working fine. X9ECParameters ecp =…