Top "Android-9.0-pie" questions

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

Android WebView Has started crashing on Android 9

Hello Expert Android Developers: We have an android app and our basic workflow is as below User is sent a …

android webview crash android-9.0-pie
Android 9 WebView (also admob ads) not loading after Chrome update

We have an application that depends heavily on web views we noticed after last week that if an android 9 user …

android google-chrome webview chromium android-9.0-pie
Robolectric RuntimeEnvironment.application is deprecated, where is ApplicationProvider.getApplicationContext()?

I switched to Robolectric 4.0 Beta 1 from 3.8 because I need compatibility with Android 9 (API 28). With this change, RuntimeEnvironment.application is now …

android robolectric android-9.0-pie
Media projections require a foreground service of type ServiceInfo.FOREGROUND_SERVICE TYPE_MEDIA_PROJECTION in Android Pie and Q

any body knows why this error occur, Media projections require a foreground service of type ServiceInfo.FOREGROUND_SERVICE_TYPE_MEDIA_…

java android android-9.0-pie foreground-service android-mediaprojection
Unable to open database in Android Pie (Android 9)

I used checkDataBase function to ensure if the database already exist to avoid re-copying the file each time you open …

database sqlite release android-9.0-pie
How to get DisplayCutout height when creating an Activity?

I have a game with full screen SurfaceView (Portrait) and thread that renders continously on the surface. The SurfaceView is …

android android-layout surfaceview android-9.0-pie display-cutouts
WebView.loadData not working on Android 9.0 (API-29)

I have an article app, I am showing articles in WebView. In Android version 9.0 (API-29) this WebView is not working. …

java android webview android-webview android-9.0-pie
My app crashes after updating in Android 9(Pie)

Yesterday my phone got updated to Android 9 and by that time my app started crashing. I reinstalled it from the …

android android-9.0-pie
Unresolved class 'FileProvider'

I am trying to take a picture on an android device and following this tutorial. The below code gives me …

java android android-fileprovider android-9.0-pie