Questions tagged [android-9.0-pie]

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

android-9.0-pie
Filter by
Sorted by
Tagged with
2 votes
1 answer
1k views

Android : Allow Cleartext http

I have a specific requirement wherein I have to block all http requests coming from the app, but there is a particular http url which a library uses which I have to whitelist. Tried setting the ...
vinv's user avatar
  • 355
0 votes
1 answer
651 views

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 ...
Saleh's user avatar
  • 1,901
1 vote
2 answers
4k views

Notification Icon not showing with Android 9

I have an issue regarding the Notification with android 9, Notification icon is not showing with Android 9. I have use below code for show the icon with notification. if (android.os.Build.VERSION....
Sandeep Sharma's user avatar
1 vote
3 answers
278 views

Android P - 'SQLite: No Such Table Error' after copying database from assets in android version 9

This DBHelper code is working in all version but not working android version 9 public class DBHelper extends SQLiteOpenHelper { private static int db_version = 1; private static String ...
Amit Yadav's user avatar
0 votes
1 answer
214 views

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 ...
Bego.'s user avatar
  • 29
2 votes
0 answers
131 views

Going to Android Task Switcher causes Native window to be destroyed

If my NDK based app is running, and I swipe up from bottom, to get the Task Switcher, my Native Window is destroyed. Is this normal behaviour? I see this on Android9, and I could have sworn that ...
Bram's user avatar
  • 7,834
0 votes
0 answers
274 views

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 ...
test12345's user avatar
  • 377
0 votes
0 answers
40 views

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. ...
Lorenzo Vincenzi's user avatar
1 vote
1 answer
359 views

Screen pixelated using CameraX on Android Pie (9.0)

I am using CameraX to take photos with my app. I've tested it on Sony Xperia (Android Nougat), Huawei P9 (Android Nougat), Samsung Galaxy A3 (Android Oreo) and Samsung S8+ (Android Pie). It works ...
Lena's user avatar
  • 551
1 vote
1 answer
429 views

(Ed)Xposed Ressource override failing

I try to override two XML string[] things from https://github.com/LineageOS/android_packages_apps_Jelly/blob/lineage-16.0/app/src/main/res/values/search_engines.xml from: <?xml version="1.0" ...
nift4's user avatar
  • 70
5 votes
2 answers
4k views

How to use AnimatedImageDrawable (GIF image) before API 28?

In API 28 AnimatedImageDrawable was introduced for displaying gif images: https://developer.android.com/reference/android/graphics/drawable/AnimatedImageDrawable.html Drawable for drawing animated ...
NullPointerException's user avatar
4 votes
1 answer
1k views

AdvancedWebView (delight-im/Android-AdvancedWebView) stops showing web pages if I set targetSdkVersion 28

I'm using this WebView extension: https://github.com/delight-im/Android-AdvancedWebView Google Play Console is requesting a targetSdkVersion 28 for future pubblications. I tryed to update my project ...
Seraphim's's user avatar
  • 12.7k
1 vote
0 answers
54 views

i am facing the issue in android 9 , android bottom softkey buttons hide the textview and button

When I press the back button from bottom softkey then buttom button is displayed, but when the app is initially loaded, then the button is hidden below the softkey. The app is working fine in all the ...
Qamar khan's user avatar
0 votes
2 answers
663 views

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 = ...
propoLis's user avatar
  • 1,273
0 votes
1 answer
764 views

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

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 ...
Mert Çelik's user avatar
2 votes
0 answers
347 views

Android crashes in TextView with IndexOutOfBoundsException and no trace of custom code

My Android app crashes somewhere in TextView on a device running Android9. It happens during param validation in SpannableStringBuilder.checkRange. I've quite a few TextView objects in my app, and it'...
Oleg Gryb's user avatar
  • 5,201
3 votes
1 answer
16k views

Render process crashing webview Android Pie (9)

Trying to load the HTML files from assets folder, app working fine up to Android v8.1 and getting crash in Android Pie (9) devices. Seems like WebView render process getting crash according the debug ...
SomeswarReddy's user avatar
1 vote
0 answers
461 views

OK button not displayed in image capture of android device

There is no OK button displayed when I capture an image from the camera. If I press the back button, The control goes to the onActivityResult but the resultCode is not OK. The camera opens fine and ...
F0r3v3r-A-N00b's user avatar
8 votes
0 answers
1k views

Keystore getEntry returns NULL on Android 9

cI have encrypted and decrypted a login password which is stored in the Android Keystore. On Android 9, I observed that the app crashes when trying to decrypt the password(I am not able to reproduce ...
user2234's user avatar
  • 1,302
10 votes
1 answer
11k views

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 spent some time loading webviews about 10 to 30 after that webviews just show blank page ...
Ahmed na's user avatar
  • 1,114
1 vote
1 answer
607 views

Custom notification sound issue IN ANDROID PIE

I am facing an issue when I use custom sound notification in Android Pie. Notifications are being notified with same sound when the app is in the foreground. When the app is in the background or ...
Muhammad Waseem Mirza's user avatar
0 votes
1 answer
806 views

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 ...
Rajendra Chauhan's user avatar
0 votes
1 answer
55 views

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 ...
BR75's user avatar
  • 658
1 vote
1 answer
2k views

Capture photo using particular physical camera id, not logical camera id

There are many devices which have multiple back cameras. I want to capture a picture using the particular back camera. There is update by google in Android 9 about Multi-camera support and camera ...
Niranj Patel's user avatar
  • 33.2k
0 votes
1 answer
255 views

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? [duplicate]

private String SendAndReceived() { HttpURLConnection con = Connector.connect(urlAddress); if (con == null) { return null; } try { ...
yesia Plorina's user avatar
0 votes
0 answers
1k views

KeyStore.setKeyEntry give java.security.KeyStoreException: Failed to store private key, then upgrading to Android 9 Pie

My code try { KeyPairGenerator keyGen = KeyPairGenerator.getInstance("RSA"); KeyPair keyPair = keyGen.generateKeyPair(); RSAKey privateKeyResult = (RSAKey) keyPair....
iftach barshem's user avatar
4 votes
0 answers
990 views

DownloadManager on Android 9+ always fails and returns ERROR_CANNOT_RESUME

I have an Android app, which does download files for the user like this: DownloadManager downloadManager; // will be initialized from somewhere else DownloadManager.Request request = new ...
Alexander Pacha's user avatar
2 votes
0 answers
279 views

Detect if network access is disabled for the running app on Android 9 (Pie)

As of Android 9 (Pie), you can go into the app settings and disable an individual application from using Mobile data, Wi-Fi, Background data, and Roaming data. To get to this screen, you go to ...
Stephen's user avatar
  • 309
0 votes
1 answer
748 views

Black screen when playing video on Android 4.4 (API 19) kitkat

Im using react-native-video with react-native. I need to install and run this on an older Android version Android 4.4 (API 19) kitkat. But Im only getting a black screen when playing video on Android ...
acroscene's user avatar
  • 967
2 votes
0 answers
77 views

Application was removed by system (Android - java)

I wrote an app for android system in java. I have used firebase to deliver notification. It works on all phones but on some it shows notification (we had cases on android 9 at least) "application was ...
Pawel Stefanski's user avatar
0 votes
1 answer
1k views

TelephonyManager.ExtraIncomingNumber is always returning null in android pie

I am developing a Xamarin.Android App to read the incoming call phone number, and I was able to get the same in Android Oreo. But once we upgraded to Android Pie string telephone = intent....
Gireesh's user avatar
  • 45
2 votes
2 answers
576 views

Android Pie 9.0 orientation issue

When using setRequestedOrientation() in onCreate() for a few seconds I get the phone orientation not the app orientation. For example: orientation is set to be landscape (using ...
Ovidiu Varo's user avatar
2 votes
1 answer
247 views

Is it possible to have 3 or more applications visible to the user on an android device?

I am writing multiple android applications. I want to have my screen divided in two or more places so that the user can view 3 or more apps simultaneously. In other operating systems like Linux or ...
Hambone's user avatar
  • 33
1 vote
1 answer
192 views

Is it possible to provide custom dimensions to my android application?

I want my android application to occupy some customized space (like top left corner of the application and device coincide, with the app occupying 1/4 of the width of the device and 3/4 of the height) ...
Hambone's user avatar
  • 33
0 votes
0 answers
51 views

I can't copy file or other operate in U disk when the code runs in Android P on TV

I can't copy or move the file from U disk when I run my code on Android P and throw the exception said 'permission denied'. the same code runs on 8.0 or lower works good. I use the FileInputStream and ...
Darren.Chen's user avatar
14 votes
2 answers
12k views

How to fix "dalvik.system.BaseDexClassLoader.findClass (BaseDexClassLoader.java:134)"

After I upgraded to the 64-bit armeabi library and released the app to googleplay in bundle packaging, I encountered the following problems in googleplay crashes report page: java.lang....
user2811667's user avatar
1 vote
2 answers
186 views

Is Android KeyStore Preserved During Upgrade To PI?

A user of my Android app has upgraded their OS to Android 9.0 (API 28). It looks like the KeyStore value (type 'AndroidKeyStore') has been lost in the process. We stored a private key in the store ...
O Wigley's user avatar
  • 197
0 votes
1 answer
2k views

Android webview is not working in latest android version

I know that this question is ask many times in stackoverflow, but their solution is didnt work for me. Thats why I am asking this question. Now the question is that I am developing an app by android ...
karan's user avatar
  • 492
4 votes
0 answers
627 views

Is there any reason to get NullPointerException when closing a foreground service?

Background On a large app, that is very popular, I've noticed that when we close a foreground service, on a very specific group of devices (OnePlus devices: 6, 6T,A6000 and a few others) and Android ...
android developer's user avatar
0 votes
1 answer
383 views

How to fix Android Databinding Error in API 28?

I have changed my target API from 27 to 28 and after that I replaced the Android.jar in Platforms/android-28 with unhiddenjar (to have some systems class for development). After changing from 27 to 28 ...
Prabhakaran's user avatar
  • 1,294
0 votes
1 answer
206 views

Android studio: USB debugging on Android P device gets stuck forever

Been facing this problem a lot of times, finally posting it on SO. I start debugging my app with some breakpoints and it works properly for some sessions. Abruptly after some time, I will reach a ...
Prasad Pawar's user avatar
  • 1,651
3 votes
2 answers
3k views

Starting activity from Service when phone is locked Android 9.0(Pie)

Hello I'm working on VoIP feature for the app and I'm trying to handle cases when app is killed. My idea is to go with FCM notification and run activity which will show user incoming call screen. It ...
harisk92's user avatar
  • 1,088
1 vote
1 answer
574 views

Sqlite data base is copying in Samsung mobiles but it is crashing in MIUI 10 OS mobiles

Copying sqlite database is working in samsung mobiles but it is not working in Redmi or Oppo or Vivo phones for example OS with Redmi MIUI Global 10.3.12 stable version it is crashing. I am expecting ...
Alfred kommina's user avatar
0 votes
0 answers
132 views

After some time Call detect broadcast Receiver stop working in background

Before i add code in my main activity for register broad cast receiver but on stack overflow some buddy write no need to register your receiver in main activity just register it from manifest only and ...
justGreat's user avatar
1 vote
0 answers
194 views

Android 9 Chrome Intent not opening the application

I dig a lot around Google Chrome Intents in order to open application from browser, and find out that there is a strange issue with Chrome Intents on Android 9 specifically. Here is my example intent ...
Oleg Novosad's user avatar
  • 2,361
4 votes
1 answer
889 views

WebView local files is not loading page in Android 9.0?

mWebView.loadUrl("file:///android_asset/html/index.html"); On older versions, webview for local files is working fine, but when I decided to test on android 9 It gives a blank page.            I ...
Manika's user avatar
  • 41
1 vote
2 answers
479 views

Ionic App breaking on Android 9 after 1st install

I have an app built using IONIC3 and cordova below are the configurations. Ionic: ionic (Ionic CLI) : 4.12.0 (/Users/vasnagpa/.nvm/versions/node/v8.2.0/lib/node_modules/ionic) Ionic Framework ...
Novice's user avatar
  • 478
0 votes
0 answers
31 views

I am using Sinch for instant messages it is working fine till OS 7.0 but never working on 8.0 or above

in MessageClientListener interface onMessageSent never called in Oreo and Nougat void onMessageSent(MessageClient var1, Message var2, String var3);
Abdul Basit Rishi's user avatar
1 vote
1 answer
722 views

fitsSystemWindows pushes action bar down - Nativescript & Android 9.0

With Nativescript : Setting <item name="android:fitsSystemWindows">true</item> adds height tot the actionbar on android 9.0. Not setting is stops SOFT_INPUT_ADJUST_RESIZE from working. ...
Marco's user avatar
  • 37
0 votes
0 answers
55 views

TextClassifier AndroidX v.s Android P native: Have different results

Artifact used (androidx.textclassifier:textclassifier:1.0.0-alpha02): Version used:1.0.0-alpha02 I am working on an app which is based on TextClassifier. In order to support back-port on API 14 - 27,...
TeeTracker's user avatar
  • 7,212

1 2 3
4
5
13