|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Class Summary | |
---|---|
HardwareInterface |
Enum Summary | |
---|---|
HWType |
This package provides APIs to communication with hardware.
Create HardwareInterface object
Before initialing the Reader, you should enumerating the hardware and assigning it to HardwareInterface object.
Enumerating the hardware is not implement in this package, please see USB Host
UsbManager manager = (UsbManager) getSystemService(Context.USB_SERVICE); UsbDevice device; HardwareInterface myDev; boolean result;...to abtain the correct UsbDevice.
mMyDev = new HardwareInterface(HWType.eUSB); try{ result = myDev.Init(mManager, mUsbDev); } catch(Exception e){ e.printStackTrace(); }
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |