1. A method for operating a mobile electronic device having a motion sensor, a touch sensor, a microcontroller, and a processor, comprising: detecting a motion by the motion sensor and a fingerprint by the touch sensor; generating motion data by the motion sensor in response to the detected motion and generating fingerprint data by the touch sensor in response to the detected fingerprint; comparing the generated motion data with at least one piece of enrolled motion data by the microcontroller and the generated fingerprint data with enrolled fingerprint data by one of the microcontroller and the processor, wherein the enrolled motion data and the enrolled fingerprint data are prestored in the mobile electronic device, and wherein the enrolled motion data comprises first motion data; and firstly, launching a first application when the generated motion data matches the first motion data and the generated fingerprint data matches the enrolled fingerprint data, secondly, associating the enrolled fingerprint data with login information of the first application to log into the first application, and finally performing a preset function of the first application by the processor.