Android library for blink(1)
/There is now an Android library for blink(1): blink1-android! Several customers have wanted to use our blink(1) notification light with Android. It was possible before with hacks, but now using standard Android APIs, we offer an Android library for blink(1) devices.
To use a blink(1) USB light with an Android device, you will need:
Device running Android 4.2 or later
Device must support USB OTG (check with this app)
USB OTG cable (like this one)
A blink(1) USB LED device
It makes adding blink(1) to your app as easy as:
int r = 255;
int g = 0;
int b = 255;
blink1.fadeToRGB(100, r,g,b ); // 100 msecs to fade to purple
String serialnumber = blink1.getSerialNumber();
For a simple example, see the Blink1Demo
app in the blink1-android github repo.