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

How to run a Service every X minutes even if the app is not running

I would like to make an app that run a Service every 10 minutes when the app is not running. I've used an AlarmManager and a BroadcastReceiver to achieve this but the BroadcastReceiver is triggering only when the app is running. It's been a month…
Vincent
  • 159
  • 1
  • 2
  • 9
0
votes
1 answer

RemoveView is not supported in AdapterView on Android 9 Devices

My app works fine on every Android 8 device, but crashes on devices running Android 9. I'm trying to upgrade it, but I'm getting this: java.lang.UnsupportedOperationException: removeView(View) is not supported in AdapterView at…
0
votes
1 answer

Can't tap to edit on ion-input on Android 9 in ionic 3

I am running it on the browser, emulator, real device it works perfectly but then I tried to run it on Android version 9 it didn't work. Can't tap to edit on ion-input on Android 9. I want to tap the edit input, so I can enter my username or…
Unnati Patadia
  • 662
  • 3
  • 19
  • 39
0
votes
2 answers

ionic 3 [object object] not able to parse data in Android P

I am new to ionic. I am developing a basic informational app. I am running it on the browser, emulator, real device it works perfectly but then I tried to run it on Android version 9 it didn't work. It returns [object object] While login. …
Unnati Patadia
  • 662
  • 3
  • 19
  • 39
0
votes
1 answer

How start activity from background in Android 9 Pie?

How is it possible to start an activity in the background on Android Pie version? I didn't have a problem with previous versions.
0
votes
2 answers

Button actions not working correctly on android 9+, but works on 4-8

My application works from android 4 and I assumed that by generating it this way it will work correctly on android 9, 10 etc. But when entering the application on devices that use android 9 they cannot register or log in correctly, since the buttons…
0
votes
0 answers

Android app is crashing with An error occurred while executing doInBackground() in android 9

Android app is crashing with An error occurred while executing doInBackground() in android 9 in version < 9 my app is running good but in android 9 this error is appear so if anyone have the solution please tell me my app is on play store crashes…
Zahid Hussain
  • 107
  • 1
  • 1
  • 9
0
votes
1 answer

Android 9: Cleartext HTTP traffic not permitted although having cleartextTrafficPermitted="true"

I have a strange issue. My app is using http to connect to a server. It works fine in many devices. However, in Xiaomi devices which has Android 9, it gives me this error: Caused by java.io.IOException: Cleartext HTTP traffic to…
AbdulelahAGR
  • 86
  • 1
  • 8
0
votes
1 answer

why RecyclerView doesn't work in android 9

Although everything works well in android 8 and lower, but my RecyclerView doesn't load anything in android 9. because I used Picasso in my recyclerView Adapter, I added code bellow to my AndroidManifest but nothing changed: …
Mohammad Derakhshan
  • 1,262
  • 11
  • 33
0
votes
0 answers

Does react-native-safe-area-context works on Android 8 and below?

I tried exactly what is mentioned in react-native-safe-area-context I run the app in samsung android 9 and it was working as expected. But in my oppo device with android 8 insets were all 0. I'm using react native 0.61. This is my root…
0
votes
0 answers

Front and Back camera on the same screen app

Well, I was just browsing around toogit and some dude wanted an app which has the functionality of "streaming" both front and back cameras of an android phone to a cloud at the same time on a single screen. Well, I ignored the streaming part, but I…
0
votes
1 answer

Camera2 API Out of Bound exception on Pie

I am using an sdk to process image which is using camer2 api, but it is not working on android Pie (28) devices and working on earlier version correctly. It s automatically closing camera and sometimes throwing out of bound exception on below marked…
Coding Geek
  • 115
  • 8
0
votes
1 answer

Bitmap Overlay not working properly in Pie

Following overly function working in up to android version 8 but not working in pie : public static Bitmap overlay(Bitmap bmp1, Bitmap bmp2) { Bitmap bmOverlay = Bitmap.createBitmap(bmp1.getWidth(), bmp1.getHeight(), bmp1.getConfig()); Canvas canvas…
earthling
  • 147
  • 16
0
votes
2 answers

Can't get device id in Xamarin Froms for android version 9.0 (API Level 28 - Pie)

In my application, I need to get device Id. I use the following: var DeviceId=Resolver.Resolve().Id; Every things was normal when I set Target Android version to Android 8.0 (API level 26 - Oreo) or lower versions. However, When I want to…
Ahmed Shamel
  • 1,982
  • 3
  • 24
  • 58
0
votes
0 answers

Android Notification Sound Causes Media Volume to Duck (Lower) & It Never Comes Back

I just converted one of my apps to target Android API 9 (was targeting API 8); now when notifications are sent out, the volume of media is lowered and never comes back to full volume. The app uses WebView to play media files. This was not happening…
hexagod
  • 449
  • 3
  • 15