                 ______________________________________

                  KVASER CANLIB ANDROID LIBRARY v1.1.0

                           support@kvaser.com
                 ______________________________________





1 Summary
=========

  This package contains the Kvaser CanLib Android library and includes a
  demo application project for Android Studio.


2 Hardware requirements
=======================

  This package have been tested running on a Nexus 9 and Samsung Galaxy
  S6 connected to a compatible Kvaser Device (see list below) using a USB
  On-The_go (OTG) cable. If you are interested in support for more of
  Kvaser products, please contact Kvaser Support at support@kvaser.com

  Supported Kvaser Devices:
  -------------------------
  - Kvaser Memorator Pro 5xHS (00778-9)
  - Kvaser Eagle (00567-9)
  - Kvaser USBcan Pro 5xHS (00779-6)
  - Kvaser USBcan Light 4xHS (00831-1)
  - Kvaser Leaf Pro HS v2 (00843-4)
  - Kvaser USBcan Pro 2xHS v2 (00752-9)
  - Kvaser Memorator 2xHS v2 (00821-2)
  - Kvaser Memorator Pro 2xHS v2 (00819-9)


3 Tools and versions
====================

  This package has been verified using the following:
  - JDK: Java SE Development Kit 8 Update 121 (64-bit)[1]
  - Android studio: Android Studio Version 2.2.3 (145.3537739)[2] for Windows
    with components:
    - Android SDK Build-tools, revision 25.0.2
    - Android Support Repository, revision 42
    - Google Repository, revision 42
    - Google APIs Intel x86 Atom System Image, Google Inc. API 23,
      revision 9
    - Android SDK Tools, revision 25.2.5


4 Demo application
==================

  A Demo application is provided in the Android Studio project
  CanlibAndroid.


5 Referencing CanLib in another project
=======================================

  The CanLib Android library is exported as an Android Archive Library (AAR)
  during build to
  project-path\CanlibAndroid\canlib\build\outputs\aar\canlib-release.aar. This
  file contains all the necessary files required to reference the library in an
  Android Studio project.  The following steps describe how to reference CanLib
  in an Android Studio project by importing the library as a module.

  1) In the Android Studio project, go to: File -> New Module. Select "Import
     .JAR/.AAR Package" and click "Next".
  2) Browse to and select the CanLib AAR and click Finish. The module should
     now be imported to the project.
  3) Right click on your application module (e.g. app) and click "Open Module
     Settings". In the Dependencies tab press "+" and select "Module
     dependency". Select the library module and close the settings window.
  4) The Kvaser CanLib Android library can now be referenced in the application
     module by importing "com.kvaser.canlib.*".



Footnotes
_________

[1]
[http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html]

[2]
[https://dl.google.com/dl/android/studio/install/1.4.1.0/android-studio-bundle-141.2343393-windows.exe]
