What new in Android P Version? – Google | MaMITs News
Android P Beta 3 includes the latest bug fixes and optimizations for stability and polish, together with the July 2018 security updates. It’s a great way to test your apps now to make sure they are ready before the final release. Give Beta 3 a try and let us know what you think!
Machine learning at the core
Google Android partnered with DeepMind on a feature we call Adaptive Battery that uses machine learning to prioritize system resources for the apps the user cares about most. If your app is optimized for Doze, App Standby, and Background Limits, Adaptive Battery should work well for you right out of the box. Make sure to check out the details in the power documentation to see how it works and where the impacts could be and test your apps to make sure they are ready.
App Actions is a new way to help you raise the visibility of your app and help drive engagement. Actions take advantage of machine learning on Android to surface your app to the user at just the right time, based on your app’s semantic intents and the user’s context. Actions work on Android P and earlier versions of the platform and they’ll be available soon for you to start using. Sign up here to be notified when Actions are available.
Today’s preview update includes the Beta 3 system images for Pixel devices and the Android Emulator, as well as an update to the Android Studi, o build tools to include D8 as an independent tool. Beta 3 is an early release candidate build of Android with near-final system behaviors and the official Android P APIs (API level 28).
With the Beta 3 system images and updated build tools, you’ve got everything you need to test your apps or extend them with Android P features like multi-camera support, display cutout, enhanced notifications, ImageDecoder, TextClassifier, and many others. In your testing, make sure to account for App standby buckets, privacy restrictions, and restrictions on non-SDK interfaces.
Get started in a few simple steps
First, make your app compatible and give your users a seamless transition to Android P. Just install your current app from Google Play on an Android P Beta device or emulator and test — the app should run and look great, and handle the Android P behavior changes properly. After you’ve made any necessary updates, we recommend publishing to Google Play right away without changing the app’s platform targeting.
If you don’t have a supported device, remember that you can instead set up an Android Virtual Device on the Android Emulator for your test environment. If you haven’t tried the emulator recently, you’ll find that it’s incredibly fast, boots in under 6 seconds, and even lets you model next-gen screens — such as long screens and screens with a display cutout.
Next, update your app’s targetSdkVersion to 28 as soon as possible, so Android P users of your app can benefit from the platform’s latest security, performance, and stability features. If your app is already targeting API 26+ in line with Google Play’s upcoming policies, then changing to target API 28 should be a small jump. When you change your targeting, make sure your app supports all of the applicable behavior changes.
It’s also important to test your apps for uses of non-SDK interfaces and reduce your reliance on them. As noted recently, Android P restricts access to selected non-SDK interfaces. Watch for logcat warnings that highlight direct uses of restricted non-SDK interfaces and try the new StrictMode method detectNonSdkApiUsage() to catch accesses programmatically. Where possible, you should move to using public equivalents from the Android SDK or NDK. If there’s no public API that meets your use-case, please let us know.
When you’re ready, dive into Android P and learn about the new features and APIs that you can use in your apps. To build with the new APIs, just download the official API 28 SDK and tools into Android Studio 3.1, or use the latest version of Android Studio 3.2. Then update your project’s compileSdkVersion and targetSdkVersion to API 28.
Publish to Google Play alpha, beta, or production channels
As soon as you’re ready, publish your APK updates that are compiled against, or optionally targeting, API 28. Publishing an update to Google Play during the preview lets you push updates to existing users to test compatibility on their devices.
To make sure that your updated app runs well on Android P as well as older versions, a common strategy is to use Google Play’s beta testing feature. With beta testing, you can get early feedback from a small group of users — including Beta 3 users — and then do a staged rollout to production.
All Details You Can Also So Here – https://android-developers.googleblog.com/2018/07/android-p-beta-3-is-now-available.html