Code example for UsbDevice

Methods: getDeviceName

0
		} 
	} 
	 
	@Override 
	public void onDeviceDetached(UsbDevice usbDevice) {
		Toast.makeText(this, "USB MIDI Device " + usbDevice.getDeviceName() + " has been detached.", Toast.LENGTH_LONG).show();
	} 
 
	@Override 
	public void onDeviceAttached(UsbDevice usbDevice) {
		Toast.makeText(this, "USB MIDI Device " + usbDevice.getDeviceName() + " has been attached.", Toast.LENGTH_LONG).show();	
	} 
 
	@Override 
	public void onMidiCableEvents(MidiInputDevice arg0, int arg1, int arg2,
			int arg3, int arg4) {
		// TODO Auto-generated method stub 
		 
	} 
 
	@Override