capture image and inertial sensor outputs on Android device