Android P Beta 2 is the latest update of upcoming Android P platform and includes the final APIs (API level 28) as well as the official SDK. You can get started building with the Android P features and APIs
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.
Slices are a new way to surface rich, templated content in places like Google Search and Assistant. They’re interactive, and through Android Jetpack they’re compatible all the way back to KitKat. Check out the Getting Started guide to learn how to build with Slices — you can use the SliceViewer tool to see how your Slices look. Over time we plan to expand the number of places that your Slices can appear, including remote display in other apps.
Android P adds platform support for screens with display cutouts, and we’ve added new APIs to let you deliver a rich, edge-to-edge experience on the latest screens. Cutout support works seamlessly for apps, with the system managing status bar height to separate your content from the cutout. If you have immersive content, you can use the display cutout APIs to check the position and shape of the cutout and request full-screen layout around it.
Android P introduces a system-managed dialog to prompt the user for any supported type of biometric authentication. Apps no longer need to build their own dialog — instead they use the BiometricPrompt API to show the standard system dialog. In addition to Fingerprint (including in-display sensors), the API supports Face and Iris authentication.
Audio apps can use the Dynamics Processing API for access to a multi-stage, multi-band dynamics processing effect to modify the audio coming out of Android devices and optimize it according to the preferences of the listener or the ambient conditions. Dynamics Processing API Take a look at the Android P features overview for a complete list of the new features and APIs.
First, make your app compatible and give your users a seamless transition to Android P. Just install your current app from Google Play on a Android P Beta device or emulator and test — the app should run and look great, and handle Android P behavior change for all apps properly. After you’ve made any necessary updates, we recommend publishing to Google Play right away without changing the app’s platform targeting.
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 28 should be a small jump.
For Pixel devices, you can enroll your device in the Android Beta program and you’ll automatically receive the update to Android P Beta 2 over-the-air. If you’re already enrolled and received Beta 1,watch for the update coming your way soon.
Stay connected with us for more Tech News Facebook Twitter Instagram YouTube Android App
Subscribe by Email