Android P: Do you know about this?

Android P comes with 8 most effective features:

1. Indoor Positioning with Wi-Fi RTT
2. Display cutout support
3. Notifications
4. Multi-camera support
5. ImageDecoder for bitmaps and drawables
6. Animation
7. HDR VP9 Video, HEIF image compression, and Media APIs
8. Data cost sensitivity in JobScheduler
and some more related to security, Autofill framework, Accessibility and Navigation

If you look at all above features then Android P covers all main areas like WiFi, Camera, Notification, Animation etc. So this will turn out to be the major update now.

In Brief about these features:

1. Indoor Positioning with WiFi RTT
As name suggest this update is more related to Indoor maps that can be controlled via WiFi. Whereas RTT (WiFi Round Trip Time) means you can explore Indoor positions of some architecture like Shopping Mall, Office Space, Hotel etc.

Concept: WiFi Access Points (AP) will be present at some places inside the building and based on user’s location these AP user can visit by looking at Indoor map.

Advantage:

  • User can reach to AP by looking at Indoor Map
  • With this accuracy, as a developer we can build new experiences like in-building navigation, fine- grained location-based services with voice controlled support (Example: “Take left from 1.5 meters”)
  • Location based information (such as “Are there special offers for this product?”
  • Device don’t need to connect to AP. But as we move, to the same direction if near by AP will be available then user will be notified.

Disadvantage:

  • Hardware should support RTT
  • The result is typically accurate within 1 to 2 meters.

2. Display cutout support

The best example now a days we have is iPhone X. Where you can see full display which covers entire screen from with notification panel to iPhone Home button. Similarly Android P will support this kind of feature. As you can see in image aside where there are some multiple types of display cutout options are available, so it will be interesting to check more about it once we actually use it.

Guys Android P Preview is now available so you can download from Android Studio > SDK Platforms section.

3. Notifications

Android 7.0 (API Level 24) as we know we can replay to the notifications right away by pulling down the notification, on top of it Android P supports many other features:

  • Support for images: Android P now displays images in Messaging Notifications on phones.
  • Support for conversation participants: This includes users profile picture, URIs, conversation.
  • Smart Reply: As you know in Gmail this feature is already present like if you get any mail then Gmail app suggests us at bottom with 3 smart options, on click of it we can directly send reply to the same mail without typing any content. Same feature will be available here in notification panel.
  • Save replies as drafts: Can find provision to draft conversation

4. Multi-camera support

The best example is the device having two camera support at back side. Which is capable of capturing seamless zoom, bokeh, and stereo vision. Phones such as Mi A1, Google Pixel already has hardware support and as a developer we can consume Android P multi camera support APIs to create apps with this feature.

5. ImageDecoder for bitmaps and drawables

As the name suggest Android P has some modernized approach for decoding images. ImageDecoder also lets you add customized and complicated effects to an image such as rounded corners or circle masks.

6. Animation

With AnimatedImageDrawable class we can display GIF and WebP images. Implementation allows your app to have an animated image without managing its updates or interfering with your app’s UI thread.

7. HDR VP9 Video, HEIF image compression, and Media APIs

Android P supports in built High Dynamic Range (HDR) videos. Where user can watch HDR videos from YouTube or can watch by sharing same video to any other 3rd party HDR supported device.

Android P also supports HEIF which is nothing but compressing image mechanism which will saves storage as we as network.

Android P supports MediaPlayer2 along with some enhanced security patches.

6. Data cost sensitivity in JobScheduler

JobScheduler was introduced in API Level 21. Which is used to schedule the network related jobs so that it will run at specific interval without affecting battery life and mobile data. Android P suggested to handle JobScheduler properly. When your job executes, be sure to use the Network object returned by JobParameters.getNetwork(). Otherwise you’ll implicitly use the device’s default network which may not meet your requirements, causing unintended data usage.

I hope this article gave you good information😃 to get started with Android P. If you have any queries 🧐, please do comment below✍

Leave a Reply

Be the First to Comment!

avatar
  Subscribe  
Notify of