capture camera and inertial sensor outputs on Android device