@palazzem palazzem released this Feb 21, 2015 · 4 commits to master since this release

New features

  • Updated to latest gradle version 1.0.0
  • Added AdkMessage class, which exposes the raw byte[] array with some utility methods to get string, byte, int and float representations
  • Issue #13: refactoring AdkManager to expose a common interface for read() and write()
  • Issue #16: AdkManager constructor now accept an Activity context to initialize the accessory

Backwards incompatible changes from 0.2.x

  • removed writeSerial(String text)
  • removed writeSerial(int value)
  • removed readSerial()
  • removed readString()
  • removed readByte()
Assets 4

@palazzem palazzem released this Oct 14, 2014 · 25 commits to master since this release

  • writeSerial now accept both byte and String values
  • readSerial is now deprecated and default to readString method
  • Added readString and readByte so you can read String and byte values from the serial port

Bugfixes

  • Fixed documentation: #9
Assets 4

@palazzem palazzem released this Apr 12, 2014 · 40 commits to master since this release

  • FileInputStream and FileOutputStream are protected so they can be mocked easily during testing
  • Testing with Mockito

Bugfixes

  • Better input/output stream management to avoid NullPointerException on Accessory loading

Backwards incompatible changes in 0.2.0

  • Some class/method names are misleading so readText/sendText become readSerial/writeSerial and closeAdk/resumeAdk become close/open
  • AdkReceiver has been removed because the actual implementation of read/write can handle multiple char
Assets 4
Pre-release
Pre-release

@palazzem palazzem released this Apr 12, 2014 · 66 commits to master since this release

  • ADK fast constructor
  • Simple default implementation of Broadcast receiver and IntentFilter
  • Writing and reading features available
  • Simple AsyncTask support
Assets 2