Posted by Dave Smith, Developer Advocate for IoT
Today we’re releasing Developer Preview 7 (DP7) of Android Things, Google’s platform that enables Android developers to create Internet of Things (IoT) devices. The platform also supports powerful applications such as video and audio processing and on-board machine learning with TensorFlow.
The latest preview is based on Android 8.1 and is updated to support version 11.8.0 of Google Play Services. For all the details of what’s included in DP7, see the release notes. Here are some of the highlights:
New features are also available in the Android Things Console to enhance product management from prototype to production:
Devices can subscribe to different update channels using new APIs added to
UpdateManager. See the updated Device Updates API guide and console documentation to learn more about configuring update channel subscriptions.
We’ve received tons of amazing feedback from developers so far, and focused heavily on addressing many of the top reported issues in this release:
Android mobile devices expose controls to users for pairing with and connecting to Bluetooth devices through the Settings app. IoT devices running Android Things need to programmatically perform these same operations. The new
BluetoothConnectionManager API enables apps to take control of the pairing and connection process. See the new Bluetooth API guide for more details.
Last year at Google I/O, we demonstrated building an app using Kotlin on Android Things. For developers using Kotlin, we have started publishing Kotlin versions of the Android Things samples. Today you can download the Button and LED sample in both Kotlin and Java, with more samples to follow very soon.
We have also migrated the TensorFlow Image Classifier sample app to use the TensorFlow Lite library, reducing the size of the pre-trained TensorFlow model by over 90% and the time required to classify the images by approximately 50%.
Please send us your feedback by filing bug reports and feature requests, as well as asking any questions on Stack Overflow. You can also join Google’s IoT Developers Community on Google+, a great resource to get updates and discuss ideas. We look forward to seeing what you build with Android Things!