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
2 answers

requestNetworkScan - returns invalid cell identity - Android P

I'm developing a privileged system app to scan the network. After executing the API, the results does not contain a valid cell identity information. All values return either as 0, null or max int. Granted relevant system privileged permissions. An…
Vitaliy
  • 291
  • 1
  • 14
0
votes
1 answer

TelephonyManager.requestNetworkScan - Android P Preview

Has anyone tried this API? I'm developing a privileged system app to scan the network. For some reason I get error 2 'Wrong parameters' when I try using it. Granted the app MODIFY_PHONE_STATE permission, and still get the error Here's an…
0
votes
2 answers

sqlite database error "no such table" in android P

im using SQLiteOpenHelper to read database from assets . its working on all android versions but android p . this is my copyDataBase function : private static void copyDataBase() throws IOException { InputStream myInput =…
Hadi Ahmadi
  • 129
  • 12
0
votes
0 answers

Not able to access pre-existing database in android P

I have used pre-existing database in my application which placed in assets folder and I am using that pre-existing structured for storing data. this is working fine in all the Android devices. But Somehow it is not working in Android P beta version.…
akash
  • 13
  • 4
0
votes
2 answers

Android compileTarget P appcompat library

https://i.stack.imgur.com/BPyCo.png Android Studio tells me to use a newer Version of appcompat. Is there one for Android P already? I have to target P because of AndroidX.
0
votes
1 answer

Why AsyncTaskLoader is deprecated in Android P?

According to Android documentation, AsyncTaskLoader is deprecated in Android P. Can anyone tell me why they are deprecated and what alternative should we used instead? EDIT - google now recommends using ViewModel instead of Loader that's the…
0
votes
1 answer

unable to install signed apk or build apk - showing "App not installed dialog" - "android-P"

I am facing an issue in installing(build or signed) apk in the device showing "App not installed". It's working fine previously, after updating my build tools to "3.1.0" and compile SDK to "android-P" facing this issue, If I downgrade to "26",…
0
votes
0 answers

Unable to Distribute apk while upgraded CompileSdkVersion to 'Android-P' and reverting to old version gives Errors

I am stuck with an Issue with New Android SDK for 'Android P'. Before release of new SDK my project was working fine and I was able to build and release fine. Immediately after it's release, I started getting Build Error as below. No resource found…
0
votes
2 answers

Android P Error: Unable to resolve dependency issue

After updating the Target version P getting error Error:Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.google.firebase:firebase-analytics:11.8.0. Open FileShow Details 1.I added the google() in project…
Ramesh sambu
  • 3,577
  • 2
  • 24
  • 39
-1
votes
1 answer

Android: How do I make sure not to remove the Google safesearch settings even after the entire browser history is cleared?

It is very important for me to make sure that I keep the block active and that I cannot remove it with a simple clearing of the history. I have no idea how to do it. I know the question here is off-topic but I don't know the section where I can post…
Mario Palumbo
  • 693
  • 8
  • 32
-1
votes
1 answer

How fix My android app not working on android 9?

My android app works fine on android below 9 but on android 9 not working and app will close after run with Myappname Keeps Stop error on phone. I've build app with SDKVersion & TargetSDKversion 28 ( Android 9 ) already. Please help me how can…
TheXrion
  • 17
  • 7
-1
votes
1 answer

Android: Cannot launch app from Android Studio after device upgrade to Android 9

Still not being able to solve this annoying issue. I'm working on an Android app, and after updating OS to Android 9 app launch from Android Studio stopped working. After building successfully, when AS is about to deploy Android Studio pops up an…
Diego Perez
  • 2,188
  • 2
  • 30
  • 58
-1
votes
1 answer

Alarm Manager is not working on Android version 9

The app requirement is to trigger an alarm at any specified time and to perform the specified tasks at that particular time. To achieve this i have made use of AlarmManager. But it's not working in Android version 9. I have used Alarm Manager which…
-1
votes
1 answer

How to make a popup activity?

I want to make an activity that when called appears as a small popup on top of any current app (or home screen) kinda like google assistant usually does when called. It is intended to ask for a fingerprint input for 3 seconds or hide if user touches…
Poma
  • 8,174
  • 18
  • 82
  • 144
-1
votes
1 answer

Phone Permission in android PIE

recently my clients are reporting some crashes about one of my apps, in that app I needed IMEI of the device to make sure the uniqueness of the users. now in Android Pie we can't access IMEI, whats the alternative now, since there are a lot of my…
SinaMN75
  • 6,742
  • 5
  • 28
  • 56
1 2 3
42
43