Questions tagged [android-9.0-pie]

Android 9.0 Pie (API level 28), formerly known as "Android P".

Android 9.0 Pie is the ninth major update and the 16th version of the Android operating system. It was first announced by Google on March 7, 2018. Android "P" was officially released on August 6, 2018 under the name "Pie". Android P harnesses the power of machine learning to make phone smarter, simpler, and tailored.

Summary of new features

You can find more info over here.

Android 9 features and APIs: official documentation

Behavior changes: official documentation

635 questions
0
votes
0 answers

KeyStore.setKeyEntry give java.security.KeyStoreException: Failed to store private key, then upgrading to Android 9 Pie

My code try { KeyPairGenerator keyGen = KeyPairGenerator.getInstance("RSA"); KeyPair keyPair = keyGen.generateKeyPair(); RSAKey privateKeyResult = (RSAKey) keyPair.getPrivate(); if(keyStore!=null) { …
iftach barshem
  • 497
  • 5
  • 17
0
votes
1 answer

Black screen when playing video on Android 4.4 (API 19) kitkat

Im using react-native-video with react-native. I need to install and run this on an older Android version Android 4.4 (API 19) kitkat. But Im only getting a black screen when playing video on Android 4.4 (API 19). Not sure what is happening. Works…
0
votes
1 answer

TelephonyManager.ExtraIncomingNumber is always returning null in android pie

I am developing a Xamarin.Android App to read the incoming call phone number, and I was able to get the same in Android Oreo. But once we upgraded to Android Pie string telephone = intent.GetStringExtra(TelephonyManager.ExtraIncomingNumber); always…
Gireesh
  • 45
  • 1
  • 5
0
votes
0 answers

I can't copy file or other operate in U disk when the code runs in Android P on TV

I can't copy or move the file from U disk when I run my code on Android P and throw the exception said 'permission denied'. the same code runs on 8.0 or lower works good. I use the FileInputStream and FileOutputStream to copy the file in U…
0
votes
1 answer

Android webview is not working in latest android version

I know that this question is ask many times in stackoverflow, but their solution is didnt work for me. Thats why I am asking this question. Now the question is that I am developing an app by android webview, now this app is working perfect in older…
karan
  • 482
  • 1
  • 8
  • 30
0
votes
1 answer

How to fix Android Databinding Error in API 28?

I have changed my target API from 27 to 28 and after that I replaced the Android.jar in Platforms/android-28 with unhiddenjar (to have some systems class for development). After changing from 27 to 28 I am facing an issue with Databinding using…
Prabhakaran
  • 1,264
  • 2
  • 20
  • 47
0
votes
1 answer

Android studio: USB debugging on Android P device gets stuck forever

Been facing this problem a lot of times, finally posting it on SO. I start debugging my app with some breakpoints and it works properly for some sessions. Abruptly after some time, I will reach a breakpoint and the debugger shows Evalutaing... and…
Prasad Pawar
  • 1,606
  • 1
  • 15
  • 30
0
votes
0 answers

After some time Call detect broadcast Receiver stop working in background

Before i add code in my main activity for register broad cast receiver but on stack overflow some buddy write no need to register your receiver in main activity just register it from manifest only and after that i tried to run that app and it work…
justGreat
  • 1
  • 1
  • 2
0
votes
0 answers

I am using Sinch for instant messages it is working fine till OS 7.0 but never working on 8.0 or above

in MessageClientListener interface onMessageSent never called in Oreo and Nougat void onMessageSent(MessageClient var1, Message var2, String var3);
Abdul Basit Rishi
  • 2,268
  • 24
  • 30
0
votes
0 answers

TextClassifier AndroidX v.s Android P native: Have different results

Artifact used (androidx.textclassifier:textclassifier:1.0.0-alpha02): Version used:1.0.0-alpha02 I am working on an app which is based on TextClassifier. In order to support back-port on API 14 - 27, I use the AndroidX's TextClassifier, however,…
TeeTracker
  • 7,064
  • 8
  • 40
  • 46
0
votes
0 answers

A strange issue with MediaPlayer on Android version 9 - null pointer exception

Recently I changed my smartphone to Xiaomi Redmi Note 7 (Android 9) and wanted to test one of my applications on it. The application does not start because there is some problem with MediaPlayer. Which does not appear on any smartphone or tablet on…
0
votes
1 answer

Open app from notification showing app is running in background

Can i open app from notification showing app is running in background. I tried following code String NOTIFICATION_CHANNEL_ID = "xxx.xxxx.xxxx.myapplication"; String NOTIFICATION_CHANNEL_NAME = "hhyydddddd"; String…
0
votes
1 answer

How to fix 'Can't convert value at index 2 to dimension: type=0x1c'

My mobile application was working fine on Android 5.1 (API 22). After upgrading to Android 9.0 Pie (Andoid 28), I can build my APK (build sucessful) but when lauching the application on my mobile, it crashes after accessing to authentication screen.…
Xav
  • 1
  • 2
0
votes
0 answers

Ionic3 app not access internet in Samsung phone android 8.0 and above

Ionic3 app gets not access the internet in Samsung devices which has android 8.0 & above. In the rest of devices like MI, Oppo, Vivo, Samsung below 8.0 app work perfectly. I Already add whitelist plugins.
0
votes
1 answer

Why this code do not run on android 9 correctly?

I have a project that connect to LAMP server and fetch some data by using AsyncTask . This app run on all Android APIs from API 16 to API 26 correctly . But when examine it on Android 9 ( API 28 ) , in the code that I show below variable "res" does…
Farid Abdi
  • 99
  • 1
  • 11