December 26, 2024
Google Releases First Developer Preview of Android P

Google Releases First Developer Preview of Android P

Posted March 7, 2018 at 8:54pm by iClarified
Google has announced the first developer preview of Android P is now available bringing several new features include support for devices with a notched display.

Looking ahead, today we're sharing the first developer preview of Android P, the newest version of Android. It's an early baseline build for developers only -- you're our most trusted reviewers and testers ;-) Early feedback from our developer community is crucial in helping us evolve the platform to meet your needs. We'd love to get you started exercising the new features and APIs in P, and as always, we depend on your early feedback and ideas, so please give us your input!

Here's a look at a few of the new features in Android P:


● Indoor positioning with Wi-Fi RTT
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. Knowing the distance to 3 or more APs, you can calculate the device position with an accuracy of 1 to 2 meters.
Google Releases First Developer Preview of Android P

● Display cutout support
Now apps can take full advantage of the latest device screens with fullscreen content. We've added display cutout into the platform, along with APIs that you can use to manage how your content is displayed.

Google Releases First Developer Preview of Android P

● Improved messaging notifications
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.


Google Releases First Developer Preview of Android P

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

● ImageDecoder for bitmaps and drawables
Android P gives you an easier way to decode images to bitmaps or drawables -- ImageDecoder, which deprecates BitmapFactory. ImageDecoder lets you create a bitmap or drawable from a byte buffer, file, or URI. It offers several advantages over BitmapFactory, including support for exact scaling, single-step decoding to hardware memory, support for post-processing in decode, and decoding of animated images.

● 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. We're excited to add HEIF (heic) image encoding to the platform. HEIF is a popular format for photos that improves compression to save on storage and network data.

● Data cost sensitivity in JobScheduler
In Android P, JobScheduler handles network-related jobs better for the user, coordinating with network status signals provided separately by carriers. Jobs can now declare their estimated data size, signal prefetching, and specify detailed network requirements—carriers can report networks as being congested or unmetered. JobScheduler then manages work according to the network status. For example, when a network is congested, JobScheduler might defer large network requests. When unmetered, it can run prefetch jobs to improve the user experience, such as by prefetching headlines.

● Neural Networks API 1.1
In Android P we're expanding and improving this API, adding support for nine new ops -- Pad, BatchToSpaceND, SpaceToBatchND, Transpose, Strided Slice, Mean, Div, Sub, and Squeeze. If you have a Pixel 2 device, the DP1 build now includes an Qualcomm Hexagon HVX driver with acceleration for quantized models.

● Autofill improvements
Along with key bugfixes, this release includes new APIs that allow password managers to improve the Autofill user experience, such as better dataset filtering, input sanitization, and compatibility mode.

● Open Mobile API for NFC payments and secure transactions
Android P adds an implementation of the GlobalPlatform Open Mobile API to Android. On supported devices, apps can use the OMAPI API to access secure elements (SE) to enable smart-card payments and other secure services. A hardware abstraction layer (HAL) provides the underlying API for enumerating a variety of Secure Elements (eSE, UICC, and others) available.

There are many other improvements in Android P that are described in more detail at the link below.

Developers can download Android P here.

Read More


Google Releases First Developer Preview of Android P
Add Comment
Would you like to be notified when someone replies or adds a new comment?
Yes (All Threads)
Yes (This Thread Only)
No
iClarified Icon
Notifications
Would you like to be notified when we post a new Apple news article or tutorial?
Yes
No
Comments (4)
You must login or register to add a comment...
iSheep
iSheep - March 8, 2018 at 5:54am
Wow! Just noticed that also. I really hope not. Ohh yea! Just like Apple was the 1st to offered people different size phones. :-p
gamerscul9870
gamerscul9870 - March 8, 2018 at 6:00am
Everyone copies eachother okay. Not like people make a living like this all the time. T_T I don't get how Apple copies others based on making their phones bigger since the first iPhone that's Kickstarter the trend of the small sized phones that other companies expanded on, but regardless, Apple uses their own materials if not make their own HD display (which is fused that other companies done as well afterwards) that are probably assembled differently. My point is that if they're going to expand on size, then the least that can come close to copying it using materials if not the dimensions of the phone itself, but still, no one can avoid copying at least one thing in their lifetime.
iSheep
iSheep - March 8, 2018 at 2:08pm
Lol now your admitting Apple copies!? Just making my point because I remember people like you swore Apple never does! :-) Apple just doesn’t only copy’s but steals from jailbreaks. :-p
Haider
Haider - March 8, 2018 at 2:05am
In app cutout! The notch!!!!!! Lol! So I guess it’s copying Apple now! Are they waiting for Apple to completely eliminate the notch one day so they can copy it too?
Recent. Read the latest Apple News.
RECENT
Tutorials. Help is here.
TUTORIALS
Where to Download macOS Sequoia
Where to Download macOS Ventura
AppleTV Firmware Download Locations
Where To Download iPad Firmware Files From
Where To Download iPhone Firmware Files From
Deals. Save on Apple devices and accessories.
DEALS