Android 9 Pie – Machine Intelligence, The future?

Android 9 Pie Release – A peek into the future?

After spending more than a week analysing what the latest release from Android 9 Pie has got, i am pretty much convinced that, we are stepping into the future of mobile technology. Mobile smartphone technology has grown to a point and has halted for the past 2-3 years. Revolution in Mobile applications have stopped and the ideas are running out, because there has always been a bottle neck of what Android can do. But the latest release from Android is providing us with the next set of super cool features that provides a very small window into what might be the future of Machine Intelligence and Artificial Learning.

Machine Intelligence – what is that?

You might have read this a lot,  but still there is no clear picture of what Artificial Intelligence or Machine Intelligence mean. It merely means that the system (Our smartphone) can think on its own to solve our everyday problems. We do not need to code every possible scenarios to be handled, the machine learns from its mistakes and covers those scenarios. In short, machines are becoming Humans!

However scary that might be, Artificial and Machine Intelligence are at their very nascent stages and there is a long way to go. The latest Pie release from Android provides us with those capabilities.

Let us see what are some interesting features that Android 9 Pie has got in store for the developers.

Indoor positioning with Wi-Fi RTT

In the outset, this seems like some new network upgrade, well yea it is, partly!! It is more of a update on the software side to leverage what is now becoming popular the IEEE 802.11mc Wi-Fi protocol.

The document says, we can provide a very fine grained location with accuracy upto 1 meter! That is like saying we can pin point the location of where you are by precisely saying which room and near what object you are. That is what this indoor positioning feature does.

It provides a very high accuracy positioning, and using this feature we can perform actions like, “Switch on the bulb”, which the smartphone understands must be near the person and switches on the nearest bulb.

This is where the Machine learning algorithms are applied and provides the next momentum towards creating very precise location based results for the user.

Neural Networks API 1.1

What’s next is a API to improve the on device machine learning capabilities. The information regarding this is very scattered, except that it is built on top of the API 1 from the Android 8.1 release.

What does it do?

The API is capable of running computationally intensive operations for machine learning on mobile devices. Lets take an example to see what it really means.

Say you are trying to perform image comparison, the device does not try to compare the image every single time, instead makes use of the training models that are already set by the developers. It infers the result from them and applies the results.

There are various categories through which the Neural Network API works

  • Latency:  This can be critical for video applications that process successive frames coming from a camera. You dont have to send a request over the network and wait for a response.
  • Availability: The application runs even when outside of network coverage.
  • Speed: New hardware specific to neural networks processing provide significantly faster computation than with general-use CPU alone.
  • Privacy: The data does not leave the device.
  • Cost: No server farm is needed when all the computations are performed on the device.

The document also says that the developer has to keep in mind of the trade offs, which are primarily Battery Usage which can be higher and also Application Size which might end up being bigger.

Enhanced messaging experience

Even though not particularly aimed at creating the Machine Intelligence for user response, the Notification features have seen a vast change in the Android 9 Pie release.

  • Simplified support for conversation participants: The Person class is used to identify people involved in a conversation, including their avatars and URIs. The Personclass also supports the Builder design pattern.
  • Support for images: Android 9 now displays images in Messaging Notifications on phones. Thats super awesome, you needn’t worry about opening the application to see the image. This is a very neat addition to the Android set of features.
  • Save replies as drafts: Your app can retrieve message sent by the system when a user inadvertently closes a messaging notification.
    Just like a mail, where the drafts are saved when the user closes the application or browser, the message is stored, which the developer can use and pre-populate the message to be sent by the user.
  • Identify if a conversation is a group conversation: You can use setGroupConversation() to purposefully identify a conversation as a group or non-group conversation.
  • Set the semantic action for an intent: The Pie release has a method which allows you to give semantic meaning to an action, such as “mark as read,” “delete,” “reply,” and so on.
  • SmartReply: Android 9 Pie supports the same suggested replies available in your messaging app. Use setChoices() method to provide an array of standard responses to the user.

Multi-camera support and camera updates

Long awaited update in Android 9 Pie is the release of multi-camera support. This provides a fused api (Like the fusedLocationApi that came out in Android 7), which enables seamless zoom, bokeh, and stereo vision.

Other improvements in camera include additional 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.

Other additional Feature in the Pie release

You can take a look at some other additional enhancements and feature list here, even though there is a significant changes and improvement in almost all the areas, the promising features have been listed in this article.





Image result for android 9 pie battery gif
Source:Time traveller wiki

This image has been making the rounds after the Android 9 Pie release. It is really pictorial of what the release has to offer.

There is a huge improvement in the way the battery optimisation has been carried out, and brightness control is carried out. These look promising as to improve the software dependency over the battery life.


The release definitely is opening doors into the future, but why is everyone suddenly saying Android is dying?

Is it really dying? Take a look at this post for answers!

Drop in any comments you have below.

“Learn and be Curious”

Leave a Comment