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:

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.