Android Pie P Launched
After Rumours Android Pie released in August 6 Android
Developers “The wait is over: Android 9 Pie is here! This new release harnesses the power of
machine learning to make your phone smarter, simpler, and tailored to you.
Learn about all of the new features and how to prepare your apps for Piee” Android developers tweeted.
Android Pie was released to Pixel phones
on 6 August 2018, and the Essential PH-1 shortly after. Other phones involved
in the beta or running Android One will get the update in Q3 2018, while
flagship phones from other brands are looking at a timescale between Q4 2018
and Q2 2019.
Features of Android Pie
Android 9 harnesses the power of machine
learning to make your phone smarter, simpler, and tailored to you. For
developers, Android 9 includes many new ways to enhance your apps and build new
experiences to drive engagement. Google wants you to know that Android Pie
includes a “heaping helping of artificial intelligence baked in to make your
phone smarter, simpler, and more tailored to you.”
Android 9 helps your phone learn as you
use it, by picking up on your preferences and adjusting automatically.
Everything from helping users get the most out of their battery life to
surfacing the best parts of the apps they use all the time, right when they
need it most, Android 9 keeps things running smoother, longer. Android Pie
offers of a slew of new features, including built-in support for display
cutouts (read: notches), a tweaked Quick Settings panel, a notification drawer
with rounded corners, messages in notifications when replying inline, smart
replies in notifications, a consistent UI for fingerprint authentication,
privacy enhancements to limit what apps can do in the background, Adaptive
Battery and Adaptive Brightness features (courtesy of Google DeepMind), App
Actions for predicting what the user will do next, App Slices for surfacing an
app’s user interface inside the Google app’s search results and inside Google
Assistant, a BiometricPrompt API for a system-managed dialog to prompt the user
for any supported type of biometric authentication, and multi-camera APIs that
let you access streams simultaneously from two or more physical cameras.
We partnered with DeepMind on a feature
called 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. If you haven't yet taken optimized your app, make
sure to check out the details in the power documentation to see how it works.
Slices can help users perform tasks
faster by enabling engagement outside of the fullscreen app experience. It does
this by using UI templates that can display rich, dynamic, and interactive
content from your app from within the Google Search app and later in other
places like the Google Assistant. App Slices, meanwhile, won’t be rolling out
until “later this fall.” That feature shows relevant information from your
favorite apps when you need it — if you start typing “Lyft” into Google Search,
an app slice might appear showing prices for your ride home and the ETA for a
driver.
App Actions is a new way to raise the
visibility of your app and drive engagement. Actions take advantage of machine
learning to surface your app to the user at just the right time, based on your
app's semantic intents and the user's context.
On devices running Android 9 with
hardware support, your apps can use the RTT APIs to measure the distance to
nearby RTT-capable Wi-Fi access points (APs). The device must have location
services enabled and Wi-Fi scanning turned on (under Settings > Location),
and your app must have the ACCESS_FINE_LOCATION permission. The device doesn't
need to connect to the access points to use RTT. To maintain privacy, only the
phone is able to determine the distance to the access point; the access points
do not have this information.
Android 9 offers support for the latest
edge-to-edge screens that contain display cutouts for cameras and speakers. The
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, use the getDisplayCutout()
method.
Android 9 makes notifications even more
useful and more actionable. Messaging apps can take advantage of the new
MessagingStyle APIs to show conversations, attach photos and stickers, and even
suggest smart replies. Android 9 now displays images in Messaging Notifications
on phones. You can use setData() on the message to display an image. The
following code snippet demonstrates how to create a Person and a message
containing an image.
You'll soon be able to use ML Kit to generate
smart reply suggestions for your app. In Android 9 added a Magnifier widget to improve the user
experience of selecting text. The Magnifier widget lets users precisely
position the cursor or the text selection handles by viewing zoomed text
through a draggable pane. You can attach it to any view that is attached to a
window, so you can use it in custom widgets or during custom text-rendering.
The Magnifier widget can also provide a zoomed-in version of any view or
surface, not just text.
Multi-camera API and other camera updates
With Android 9 you can now open streams
from two or more physical cameras simultaneously on devices that support the
multi-camera API. 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.
HDR VP9 Video and HEIF image compression
Android 9 adds built-in support for HDR
VP9 Profile 2, so you can now deliver HDR-enabled movies to your users 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. With platform support on Android 9 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 AndroidX library to write HEIF still images from YUV byte buffer, Surface, or Bitmap
Android 9.0 Pie has a near-opaque app drawer background. Big whoop. The biggest visual change is seen in the
Recent Apps multitasking screen. Previously, app screens appeared as a semi-3D cascade, with only one ‘frozen’ app clearly visible on-screen at once. With a range of biometric sensors in use for authentication, we've made the experience more consistent across sensor types and apps. Android 9 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.
Android 9 introduces Android Protected
Confirmation, which uses the Trusted Execution Environment (TEE) to guarantee
that a given prompt string is shown and confirmed by the user. Only after
successful user confirmation will the TEE then sign the prompt string, which
the app can verify. We've added StrongBox as a new KeyStore type, providing API
support for devices that provide key storage in tamper-resistant hardware with
isolated CPU, RAM, and secure flash. You can set whether your keys should be
protected by a StrongBox security chip in your KeyGenParameterSpec.
The various privacy and security
improvements are also worth highlighting. Android Pie introduces Android
Protected Confirmation, StrongBox as a new KeyStore type, built-in support for
DNS over TLS, Network Security Configuration that blocks all cleartext traffic
by default, and expanded use of compiler-level mitigations, as well as
restricted access to microphone, camera, and all SensorManager sensors from
idle apps. Not every change achieves its intended purpose, but the end result
is a more considerate experience for the devices we use more than any other
every day. Android 9 Pie takes you where you want to go faster. Changes to the
Recents screen (or Overview, as some users call it) go hand-in-hand with
Android Pie's new gestures. Unlike the vertically scrolling cards of previous
Android versions, Pie adopts a right-to-left approach, with a search bar and
list of suggested apps at the bottom, based on what the OS expects you'll use
given your history.
The bigger change, though, is that
pressing the volume rocker now modifies media volume by default, rather than
the volume of your ringer. Apart from the major new features, Android P brings
enhanced messaging notifications that include conversations, photos, stickers,
and smart reply options. Text selection has also been improved with a Magnifier
widget that helps users precisely position the cursor or the text selection
handles by viewing zoomed text through the draggable pane. Display cutout is
also a part of Android Pie to support notches. As anyone who has inadvertently triggered an
autoplay video in a meeting can tell you that that's probably for the best. As
for the ringer, there's now a single on-screen button above the slider to let
you toggle among on, vibration only or
off. Android Pie's handling of screenshots also borrows one of Apple's
best ideas for iOS. Now, snapping a screenshot automatically produces a link to
edit it, where you can quickly crop or mark up the image before saving it to
your gallery or sharing it with friends.
1 comments:
commentsWow its an amazing blog
ReplyAndroid Online Course Bangalore