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

resultcode = 0 camera intent with extra_output on android 8

I am trying to take a picture with my app using the camera intent and EXTRA_OUTPUT. This works fine for android 10 and 9 (though I use a slightly different approach for 10), however when I try to run it on android 8 or 7 the onActivityResult get a…
0
votes
0 answers

HttpURLConnection returns error code 500 intermittently

The following URLConnection Post task works well in Android 8, but works intermittently in Android 9. For example, it returns Error Code 500 on the first two calls, then on the 3rd call, it returns good Code 200 with a token parameter from a…
0
votes
0 answers

How to create app specific folder in android gallery and save images that can also be shared in API below 29 and above 29

Im building a pp for photo editing. i want to create my app folder in gallery and when user click on save button the images should be saved to my app specified folder in gallery, i make it possible with media storage with this line…
0
votes
1 answer

Android customized ListView not showing in API Level 28

In Android application I have a custom ListView that I am displaying in Alert dialog. It works perfectly on Galaxy TAB A 7.0 API Level 22. I have run the same application on Galaxy TAB A 8.0 API Level 28. The AlertDialog is not showing. How can i…
0
votes
0 answers

Initializing AsyncHttpClient crashes with ExceptionInInitializerError in Android Pie and newer

In Android Studio 3.6.2 I get an "ExceptionInInitializerError" and "java.lang.RuntimeException: Stub!", on this line of code: private static AsyncHttpClient client = new AsyncHttpClient(); Which happens only in Android Pie devices and Android Q…
Josh
  • 6,251
  • 2
  • 46
  • 73
0
votes
1 answer

Difference between video players in browser and file explorer in Lineage OS

I'm trying to play a video file locally but it skips the first 30 seconds and in other cases sometimes gets stuck before playing fluidly. This happens only when playing from the file explorer. The same file played from URL in the Lineage default…
0
votes
1 answer

What is the best way to write a HAL to access hardware in Android9

I need to write a HAL to access sysfs entry from android APP but the thing is, the whole processing should not take more that 2 ms. What can be the best way to define the HAL or in simple language the fastest HAL. I have implemented a binderized HAL…
wasnaz
  • 89
  • 1
  • 2
0
votes
0 answers

Hide controls(pause, forward button etc) of videView Media controller when backButton pressed in Android 9

I'm using videoView to play video on app, MediaController is used to play video. In Android 9 when controls are showing in bottom of playing video then back button of Android doesn't call. I'm Using fragment. When i press back button then override…
0
votes
0 answers

Connection timed out android studio android pie version 9

I created android application grocery app using android studio. when i open some devices it showing connection timed out keep on loading. but some other devices working. please check attached screenshot. please tell me which code i need to…
0
votes
1 answer

"Unrecognized app. Please make sure you trust this app before proceeding" in flutter stripe payment

i'm beginner for flutter. i need connect stripe payment and flutter. so i use stripe_payment: ^1.0.6(https://pub.flutter-io.cn/packages/stripe_payment/versions/1.0.6). using this example i tried to build payment gate way. but their has error…
0
votes
0 answers

Error when compiling app in Android 9.0 using SQLite.Net-PCL [Xamarin.Android]

I am trying to compile my application that requires a comunications with a local service, which is SQLite, I (and from the start of my long project) have been using SQLite.Net-PCL plugin, but when compiling my app into android 9.0 versions, it…
0
votes
2 answers

Ionic3 Fatal Exception: android.app.RemoteServiceException: Bad notification for startForeground in android 9 devices?

I have generated the android build but its not working in some Android version 9 devices in the android 9 version app is crashed after login.i got below error in the console. Tested In Following devices: Oppo F11 Pro: app working not…
Kapil Soni
  • 1,003
  • 2
  • 15
  • 37
0
votes
1 answer

Merging Errors: Error: Attribute application@appComponentFactory in android 28.0.3

Merging Errors: Error: Attribute application@appComponentFactory value=(androidx.core.app.CoreComponentFactory) from AndroidManifest.xml:22:18-86 is also present at AndroidManifest.xml:22:18-91 value=(android.support.v4.app.CoreComponentFactory).…
0
votes
1 answer

searching nearby available bluetooth in Xamarin android 9

I want to search for available bluetooth but I can't find a solution that works in Xamarin android 9,
0
votes
0 answers

Are regex treated differently between regular java app and android app?

I just tried using picocli in one of my android projects (android 9). See here for more information about picocli. I tried picocli before in a local project (just with a main method, not using android) and it worked well. But then I adapted the code…
etienne31
  • 27
  • 8