Method for selectively turning on front camera and/or back camera of mobile terminal

The invention discloses a method for selectively turning on a front camera and/or a back camera of a mobile terminal. The method is characterized by comprising the steps that through position information provided by an acceleration sensor when a button of the mobile terminal is pressed, the preset front camera or the preset back camera or the preset front camera and back camera corresponding to the position information are turned on; a preset camera mode corresponding to the position information is turned on. According to the method for selectively turning on the front camera and/or the back camera of the mobile terminal, a user can conveniently and fast turn on the cameras and camera mode to be used, the step of the user for setting the cameras and the camera mode when the cameras are turned on is optimized, and user experience in the use process of the cameras of the terminal is improved. Meanwhile, due to the fact that operating steps and operating time are saved, terminal power consumption is reduced, and the life of the terminal is prolonged.