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

android,,camera can't be accessed when screen is off or app is not focusd on screen

First i use CameraManager.open(cameraid,StateCallbackObject,handler) to use camera,and then i turn off the screen or switch screen to display phone desktop or other app,after around 1 minute camera access is abrupted and onError method in…
abracadabra
  • 371
  • 2
  • 16
0
votes
0 answers

Xamarin.Android Preview Problem in VS for Mac

When I targeted Android 9.0 (Pie) in Android part of Xamarin.Forms app the Preview of UI produces an error and show nothing. Open a new Xamarin.Forms App in VS For Mac then update all of the Android Packages. After that, target your app to…
0
votes
2 answers

Unable to show layout preview and InflateException after migrated to Android X

This morning I decided to migrate all app to Android X to use some new feature, but I got several problems, most of it in these three layout, (activity_main.xml, app_bar_main.xml, content_main.xml) When I run the app I got this errors …
Dr Mido
  • 2,414
  • 4
  • 32
  • 72
0
votes
1 answer

Mobilefirst Plugin Doesnt Support Android 9 for Security Login

cordova-plugin-mfp When using in Andoird 9 throws error for WLAuthorizationManager.login. 03-01 09:05:21.852 660 25727 I netd : ;; res_nquery(ukd-climf8.peluk.org, 1, 1) 03-01 09:05:22.527 25320 25454 D…
0
votes
1 answer

How to run python script on arm board with android pie?

I have python script and arm board with android pie. I have UART console and adb shell of board. Now i want to run python script on board ? How to add python packages in android build ?
Pankaj Suryawanshi
  • 681
  • 1
  • 9
  • 23
0
votes
3 answers

Views not loading after updating device to Android Pie 9.0

I recently updated my phone to Android 9.0. The app which I was developing was working fine in earlier Android version. But after the update some views which require internet are not loading. Blank spaces are being displayed in their places. It…
0
votes
0 answers

Android P incoming call number can't be fetched without CALL_LOG permission

Android P incoming call number can't be fetched without CALL_LOG permission and google is not allowing CALL_LOG permission. How can I fetch the incoming number on Android P? @Override public void onReceive(final Context context, final Intent…
yasir khan
  • 419
  • 4
  • 6
0
votes
0 answers

Application in background + startService()

I am dealing with problem that my application crashes if it is in background and my stack trace says that the problem is with startService() function. Android documentation for developers states in the section Migration, in the first bullet point,…
0
votes
1 answer

Android 9.0 - MediaPlayer throws an exception on stream playback. Code: -1004, type: 1

My stream works pefectly with android.media.MediaPlayer on a number of devices: Samsung, Xiaomi, Huawei etc. However, recently devices started to receive Android 9.x updates. My stream stopped working on OnePlus 6 after installing Android 9.x…
0
votes
1 answer

Background Service is not working in android PIE version properly

It was working fine up to Oreo but after the API 28 PIE VERSION released the background service is not working properly, the exact flow is after starting the service without stopping it manually, the service automatically is being stopped when the…
0
votes
1 answer

phonegap app no network connection on Android 9 Pie

I have a phonegap app that is working on every Android Version except 9 Pie. Navigating to a website works. That means my allow-navigation tags must be correct. But sending a XMLHttpRequest I get no data. var xmlhttp = new XMLHttpRequest(); …
Lilliput
  • 39
  • 7
0
votes
1 answer

Android 9 (Pie) - Not able to capture any api (native / web) through network monitoring tools such Charles proxy and Fiddler

I am trying to capture apis triggered from native app and website through Charles proxy / Fiddler , But I am not able to see any api there. I have set manual proxy as well. I am able to see apis for Android 8 and below . But not working for Android…
0
votes
1 answer

netty - ssl/tls two way authentication

I already tried Two way SSL authentication in Netty but the example is not showing any info anymore, just a 404 Not Found. I have found some help…
trond050666
  • 27
  • 3
  • 9
0
votes
1 answer

android pie : I cant get the file name or the file path

My code is working fine on any device .. but not working on android pie I am trying to get the real path and the file name from the onActivityResult in a Fragment and I am using the FileNameUtils from the apachi library and using this…
Muhammad
  • 601
  • 2
  • 9
  • 18
0
votes
1 answer

How to programatically turn on wifi when aeroplane(airplane) mode is on in Android?

I am developing a wifi search application. Whenever the device is in aeroplane mode wifi is turned off automatically. I found that system apps can turn on the wifi even if the device is in aeroplane mode. I am testing it on Android 9. How do I make…
Asharali V U
  • 973
  • 9
  • 25