摘要:
A method for performing a function of an electronic device includes outputting an image outside the electronic device, capturing the output image; detecting a trace of a pointer in the captured image, and performing a preset function corresponding to the detected trace of the pointer.