Android Q adds shiny new APIs while blocking others
- May 3, 2019
- Posted by: IGUARD
- Category: News
Android Q is approaching which means developers are getting treated with a few shiny new APIs while others are getting blocked to boost platform security.
The first preview of Android Q has been released for developers and early-adopters to start tinkering with. In this article we’ll provide a rundown of what’s changed so far.
What’s being added or changed is always more exciting than what’s being taken away, so it’s where we’ll start.
Neural Networks API 1.2
We know Google is taking AI seriously and is building it into most of its own products, this API helps developers in doing the same.
The API was first released in 2017 but in Android Q it’s being updated with performance improvements and support for 60 new operations including ARGMAX, ARGMIN, and quantised LSTM.
Primarily, it will help apps function more independently while improving capabilities such as object recognition for hardware manufacturers.
Native MIDI API
For those who create apps for creative types, this could be very useful.
The API enables Android devices to talk with MIDI audio devices more effectively.
By communicating through the NDK, performance is particularly improved for apps which use C++ for audio processing.
This API is useful for developers of apps which display video content.
It aims to simplify identifying the relevant specs of a device – in particular things like screen resolution, size, frame rate, and ratio – and, perhaps unsurprisingly, what codecs it supports.
Using this information, it can help to deliver the best video playback tailored for each device.
API Policy Changes
Less exciting, but still important, are the API policy changes that Google will soon begin enforcing.