handle android device connection