android ioio code (needs hardware connected to your device to work)