capture image as well as inertial sensor outputs of Android device