The invention discloses a method of managing and controlling Android
smart device cameras based on a device manager. The method comprises the steps of: activating the device manager, and obtaining an example of the device manager; obtaining an example of a device strategy manager; detecting whether or not the device manager's control over the camera is activated, if not, using startActivity() to pop-up device manager permission activation window to activate the device mager's control over the camera; using the device strategy manager example to call the
camera control interface to open or close the camera. In the method, the camera is managed and controlled by the Android
system device manager, the level of manage and control is high, the Apps are all within the scope of control whether come from the
system or
third party, the method can make the photo and video function completely invalid, and this method cannot be avoided and the camera cannot be used; moreover, the method has no influence on other functions of the Android
smart phone, the method will not bring other inconvenience for users, and meet different needs in various occasions.