Skip to content

Android ADK project which uses AOA to communicate with Arduino Due platform. Even if this is a generic Android project, the chosen version fit UDOO Android version.

License

Notifications You must be signed in to change notification settings

palazzem/udoo-adk-lightbulb

Repository files navigation

UDOO ADK Lightbulb

This project is developed for educational purpose. It shows how you can easily implement an ADK project using an ADK wrapper.

External dependencies

Configuration

This project uses ADK Toolkit to manage UsbManager and UsbAccessory. You only need a couple of lines on your project to use ADK features:

private AdkManager mAdkManager;
mAdkManager = new AdkManager((UsbManager) getSystemService(Context.USB_SERVICE));

Interactions

When you click on the lightbulb image, ADK Toolkit send a command to Arduino. Available commands are:

  • bulbOff(): adkManager.sendText("0")
  • bulbOn(): adkManager.sendText("1")

No more!

Changelog

0.1.2

  • Updated ADK Toolkit to 0.2.0

0.1.1

  • Updated Gradle plugin
  • Removed all ADK source code in favor of ADK Toolkit

0.1.0

  • AdkManager: write wrapper
  • Removed complex UI for better code readability

License

About

Android ADK project which uses AOA to communicate with Arduino Due platform. Even if this is a generic Android project, the chosen version fit UDOO Android version.

Resources

License

Stars

Watchers

Forks

Packages

No packages published