» » » 👉 Google announces Android P Developer Preview 1 with Display cutout, Wi-Fi RTT Indoor positioning and Multi-camera support - Video

Google announces Android P Developer Preview 1 with Display cutout, Wi-Fi RTT Indoor positioning and Multi-camera support. Google today announced the first developer preview of Android P, the newest version of Android.  This initial release is for developers only and not intended for daily or consumer use. The Android P Developer Preview 1 includes an updated SDK with system images for testing on the official Android Emulator and on Pixel, Pixel XL Pixel 2, and Pixel 2 XL devices. Google plan to update the preview system images and SDK regularly throughout the preview.
Google announces Android P Developer Preview 1 with Display cutout, Wi-Fi RTT Indoor positioning and Multi-camera support
Google announces Android P Developer Preview 1 with Display cutout, Wi-Fi RTT Indoor positioning and Multi-camera support
Here's a look at some of the cool features in this first preview of Android P.
Google announces Android P Developer Preview 1 - Indoor positioning with Wi-Fi RTT
Google announces Android P Developer Preview 1 - Indoor positioning with Wi-Fi RTT
Indoor positioning with Wi-Fi RTT
Accurate indoor positioning has been a long-standing challenge that opens new opportunities for location-based services. Android P adds platform support for the IEEE 802.11mc WiFi protocol -- also known as WiFi Round-Trip-Time (RTT) -- to let you take advantage of indoor positioning in your apps.

On Android P devices with hardware support, location permission, and location enabled, your apps can use RTT APIs to measure the distance to nearby WiFi Access Points (APs). The device doesn't need to connect to the APs to use RTT, and to maintain privacy, only the phone is able to determine the distance, not the APs.

Knowing the distance to 3 or more APs, you can calculate the device position with an accuracy of 1 to 2 meters. With this accuracy, you can build new experiences like in-building navigation; fine-grained location-based services such as disambiguated voice control (e.g.,'Turn on this light'); and location-based information (e.g., 'Are there special offers for this product?').
Google announces Android P Developer Preview 1 - Display cutout
Google announces Android P Developer Preview 1 - Display cutout
Display cutout support
Now apps can take full advantage of the latest device screens with fullscreen content. Google added display cutout into the platform, along with APIs that you can use to manage how your content is displayed.

Cutout support works seamlessly for apps, with the system managing status bar height to separate your content from the cutout. If you have critical, immersive content, you can also use new APIs to check the cutout shape and request full-screen layout around it. You can check whether the current device has a cutout by calling getDisplayCutout(), and then determine the location and shape of the cutout area using DisplayCutout. A new window layout attribute, layoutInDisplayCutoutMode, lets you tell the system how and when lay out your content relative to the cutout area.

To make it easier to build and test cutout support in your app, Google added a Developer Option that simulates a cutout on any device. Google recommend testing your existing apps with display cutout enabled to ensure that your content displays properly.
Google announces Android P Developer Preview 1 - Improved messaging notifications
Google announces Android P Developer Preview 1 - Improved messaging notifications
Improved messaging notifications
Google put a priority on improving visibility and function in notifications in Android P. Try the new MessagingStyle notification style -- it highlights who is messaging and how you can reply. You can show conversations, attach photos and stickers, and even suggest smart replies.

Multi-camera API
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. The API also lets you call a logical or fused camera stream that automatically switches between two or more cameras.

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. Google also added APIs for display-based flash support and access to OIS timestamps for app-level image stabilization and special effects.

HDR VP9 Video, HEIF image compression, and Media APIs
Android P adds built-in support for 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.

Google adds HEIF (heic) image encoding to the platform. HEIF is a popular format for photos that improves compression to save on storage and network data. With platform support on Android P devices, it's easy to send and utilize HEIF images from your backend server. Once you've made sure that your app is compatible with this data format for sharing and display, give HEIF a try as an image storage format in your app. You can do a jpeg-to-heic conversion using ImageDecoder or BitmapFactory to obtain a bitmap from jpeg, and you can use HeifWriter in the new Support Library alpha to write HEIF still images from YUV byte buffer, Surface, or Bitmap.
 

About G.Я

Hi there! I am G.R.
«
Next
Newer Post
»
Previous
Older Post

No comments:

Leave a Reply