Android Things peripheral I/O APIs: Button

2 497
416.2
Опубликовано 22 декабря 2017, 22:12
This is a video of our Android Things sample sample-simplepio/button.

This sample demonstrates how to detect a button press using the Android Things Peripheral I/O APIs. When we press the button, we can see debugging messages in logcat.

You can download the source code here: goo.gl/bKpbTE

Android Things is provided by Google and enables developers to build their own production Internet of Things devices and maintain them at scale. Learn more about the Android Things SDK at developer.android.com/things and join our community at g.co/iotdev.

Watch more samples for Android Things here: goo.gl/tjYXHF

Subscribe to the Android Developers channel here: goo.gl/vLYDU
автотехномузыкадетское