added 'sendToAndroid' & 'receiveFromAndroid' function