Patent ID: 8233051

Claim:
A method for testing a camera function of an electronic device, the electronic device communicating with a testing device, the method comprising: configuring parameters by a parameter module of the electronic device, and the parameters comprising a plurality of resolutions; causing a camera of the electronic device to take pictures according to the configured parameters by a controlling module of the electronic device; sending the pictures and the configured parameters to the testing device by a sending module of the electronic device; receiving the pictures and the configured parameters by a receiving module of the testing device; and getting parameters of the pictures and judging whether the parameters are substantially identical to the configured parameters by a judging module of the testing device; wherein the step of causing the camera to take pictures, comprises of the following substeps: judging whether the camera has taken pictures in all the configured resolutions by the controlling module; if yes, sending the pictures and the configured parameters to the testing device; if no, taking pictures in one of the configured resolutions by the camera.