Android P is upcoming operating system of Google. Its beta version is available now. This update is near-final, according to the company, with the final Android 9.0 release expected in August. Intelligence, simplicity and digital wellbeing are the three pillar stones of Android P.
What’s new in Android P
- Indoor Positioning with Wi-Fi RTT
- Display cutout support
- Enhanced messaging experience
- Channel settings, broadcasts, and Do Not Disturb
- Multi-camera support
- ImageDecoder for drawables and bitmaps
- HDR VP9 Video, HEIF image compression, and Media APIs
- Data cost sensitivity in JobScheduler
- Autofill framework
- Security enhancements
Indoor Positioning with Wi-Fi RTT
Android P adds platform support for the IEEE 802.11mc Wi-Fi protocol—also known as Wi-Fi Round-Trip-Time (RTT)—to let you take advantage of indoor positioning in your apps. Your apps can use the new RTT APIsto measure the distance to nearby RTT-capable Wi-Fi Access Points (APs). The device must have location enabled and Wi-Fi scanning turned on location, and your app must have the permission. The device doesn’t need to connect to the APIs to use RTT
Display cutout support
Android P offers support for the latest edge-to-edge screens with display cutout for camera and speaker. The new DisplayCutout class lets you find out the location and shape of the non-functional areas where content shouldn’t be displayed. To determine the existence and placement of these cutout areas
Android P introduces several enhancements to notifications, all of which are available to developers targeting Android P and above. Enhanced messaging experience: Starting in Android 7.0 (API level 24), you could add an action to reply to messages or enter other text directly from a notification. Channel settings, broadcasts, and Do Not Disturb: Android O introduced Notification Channels allowing you to create a user-customizable channel for each type of notification you want to display.
You can now access streams simultaneously from two or more physical cameras on devices running Android P. On devices with either dual-front or dual-back cameras, you can create innovative features not possible with just a single camera, such as seamless zoom, bokeh, and stereo vision Other improvements in camera include new Session parameters that help to reduce delays during initial capture and Surface sharing that lets camera clients handle various use-cases without the need to stop and start camera streaming.
ImageDecoder for drawables and bitmaps
Android P introduces ImageDecoder to provide a modernized approach for decoding images. You should use ImageDecoder to decode an image rather than the BitmapFactory and BitmapFactory.Options APIs.
ImageDecoder also lets you add customized and complicated effects to an image such as rounded corners or circle masks
Animation Android P introduces a new class for drawing and displaying GIF and WebP animated images. Its works similarly to Vector Drawable and Render Thread drives the animations. Render Thread.
HDR VP9 Video, HEIF image compression, and Media APIs
Android P adds built-in support for High Dynamic Range (HDR) VP9 Profile 2, so you can now deliver HDR-enabled movies to your users from YouTube, Play Movies, and other sources on HDR-capable devices. Android P adds support for HEIF Image encoding to the platform.
In Android P the AAudio API includes new AAudioStream attributes for audio stream.
Data cost sensitivity in JobScheduler
Android P has been improved to let ut better handle Network related process for the user its coordination with network status signals provided by carriers.
Android P introduced the autofill framework, which makes it easier to fill out forms in apps. Android P introduces multiple improvements that autofill services can implement to further enhance the user experience when filling out forms.
Android P introduces a number of new security features, including a unified fingerprint authentication dialog and high-assurance user confirmation of sensitive transactions.