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
1 answer

Time not display on Notification on android 9 and above

I am sending a notification in my app from FCM console and working fine in below android 9 devices, In the above android 9 device Time is not displayed in the notification. below is my code - NotificationCompat.Builder mBuilder; …
Ravi Bhandari
  • 4,682
  • 8
  • 40
  • 68
0
votes
1 answer

Ionic HTTPS requests failing on Android 9

Disclaimer: this looks incredibly the same as Ionic Native HTTP does not work for Anroid 9 (Pie) and up? but it isn't! We are facing an incredibly strange and hard problem after updating our app today. We are mantaining an Ionic v1 app for Android.…
Áxel Costas Pena
  • 5,886
  • 6
  • 28
  • 59
0
votes
1 answer

Android WebView only works for API 28

I have stored a website locally in my assets folder (i.e. HTML, CSS and Javascript files). Using a WebView, I can display the website on any phone I tried with Android 9, emulated or hardware. But when the API is lower than 28, the WebView is blank…
Sid
  • 563
  • 1
  • 10
  • 28
0
votes
1 answer

How to make a call via dialer programmatically in android Pie and above

I use this code to show the number and when pressing it to make a dial.It is working for android versions before Android Pie. final Button but= findViewById(R.id.buttond); but.setOnClickListener(new View.OnClickListener() { …
Apollon
  • 311
  • 7
  • 29
0
votes
1 answer

Need absolute file path of selected file using Intent.ACTION_OPEN_DOCUMENT in android pie

I want to get pdf and convert it into base64. use this code to start picker Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT); String [] mimeTypes = {"image/*", "application/pdf"}; intent.setType("*/*"); …
0
votes
0 answers

App is not fetching MySQL database in Android Pie

My app fetches data from server (Mysql DB). it is working fine in all android versions except android Pie. I have also added network_security_config.xml. I need i mediate help because app is published and I have started promoting it. PS: My server…
Tanveer Ahmed
  • 426
  • 1
  • 4
  • 15
0
votes
1 answer

AOSP Pie bluetooth HCI not hanging: hci_initialize error

I have a test board for amlogic S905X chip. (p212 reference board) When I burn my ROM into it, the bluetooth constantly shows "stopping" dialog. The logfile (tombstone) is quite long but the important part is here: 01-01 00:24:15.708 28953 28986 I…
Saleh
  • 1,819
  • 1
  • 17
  • 44
0
votes
1 answer

Can't Start Background Services in Api > 26

trying to start a service from a background service, somehow it work with all android version Lower than api 24, and actually not work in (oreo,Pie,..). however i try this code below, and this screen for problem i face if testing using…
Bego.
  • 29
  • 2
  • 7
0
votes
0 answers

Getting exception: Segmentation fault (11) while showing a secondary form on Android 9

I'm using Delphi 10.3 to develop an Android application. The main form needs to show a login form based on data stored in an INI file. But, when I show the form, I get an exception: Exception class Segmentation fault (11). I'm facing this problem…
0
votes
0 answers

SharedPreferences key setted before creation

I found a problem with Shared Preferences which happens only for some devices and only with Android 9 (Pie) o above. To encrypt my database I create a key and store it to my sharedPreferences. SharedPreferences sharedPreferences =…
Lorenzo Vincenzi
  • 1,153
  • 1
  • 9
  • 26
0
votes
2 answers

Custom notification sound is not working at NotificationChannel for android P

I have custom notification sound but when device take notification therefore device is not silent, notification sound is not working. Device is playing default sound. NotificationChannel mChannel = new NotificationChannel(MISSED_CALL, "missedCall",…
propoLis
  • 1,229
  • 1
  • 14
  • 48
0
votes
1 answer

Note 5 No SIM Card, No WI-FI and invalid imei after flashing LineageOS 16 and HyperKernel

Thanks for care of my problem. i have Samsung glaxy note 5(SM-N920C) and im flashed android 9 custom rom for s6+ and hyperkernel. after flashing them, my phone's imei is gone ,i cant use wifi and phone is not dedectimg SIM. i was try installing…
0
votes
1 answer

How to open PDF file from internal storage in Pie?

I try to open PDF file in Pie? but it does not open. I don't get any error. What is the issue? PDF file does not open. Only black screen is shown. In logcat no errors show. What is wrong? Intent intent = new Intent(Intent.ACTION_VIEW); Uri…
0
votes
1 answer

Android 9 drawable in Button not showing

I put a drawable in a button, that works on Android 6 but not on Android 9 devices. Same code, no exceptions, it’s just does not shows up. First I scale my drawable to fit in my button and change the color of the drawable, here is my code: Integer…
BR75
  • 633
  • 7
  • 25
0
votes
1 answer

Cleartext HTTP traffic to www.sia.co.id not permitted .not working in android version pie,but working in oreo and all under pie. why?

private String SendAndReceived() { HttpURLConnection con = Connector.connect(urlAddress); if (con == null) { return null; } try { OutputStream os = con.getOutputStream(); …
yesia Plorina
  • 103
  • 1
  • 7