StartDaemon() initializes the eveusb core. 

 

This method has no parameters. 

 

StopDaemon() deinitializes the eveusb core. 

 

This method has no parameters. 

 

NotifyUsbDevice(int fd, String path, String name) is called after the USB device is connected to or disconnected from the Android device (see an example in eveusbd_java.tar.gz). 

 

Parameters: 

 

fd - file descriptor for the attached USB device that is going to be shared (-1 if the USB device has been detached). 

 

path - kernel devname (the string is empty if the USB device has been detached). 

 

name - device name (the string is empty if the USB device has been detached). 

 

More information on the eveusb core management functions can be found in the SDK user guide of USB Network Gate for Linux.