Changing Serializable arguments to BluetoothSerializable objects, correcting serialize method and jar files