Source : Pixabay/OpenClipart-Vectors
In an attempt to encourage developers to work with its rebranded Internet of Things (IoT) platform, Google recently launched Android Things Developer Preview. The developer preview is available right now and it comes with a vast array of features to work with.
Recently, the company wrote in its official blog,
Android Bluetooth APIs
DP3 now includes support for all Android Bluetooth APIs in android.bluetooth and android.bluetooth.le, across all Android Things supported hardware. You can now write code that interacts with both Bluetooth classic and low energy (LE) devices just like a regular Android phone. Existing samples such as Bluetooth LE advertisements and scanning and Bluetooth LE GATT can be used unmodified on Android Things. We have also provided two new samples, Bluetooth LE GATT server and Bluetooth audio sink.
USB Host support
Android version 3.1 and later supports USB Host, which allows a regular user space application to communicate with USB devices without root privileges or support needed from the Linux kernel. This functionality is now supported in Android Things, to enable interfacing with custom USB devices. Any existing code supporting USB Host will work on Android Things, and an extra sample USB Enumerator is available that demonstrates how to iterate over and print the interfaces and endpoints for each USB device.
In order to develop the technology further, the company has asked the developers to provide feedback on any issues the developers might encounter. Moreover, if you are currently using the developer preview, you can also request new features. The company is expected to reveal more details regarding the platform in the upcoming Google I/O 2017.