Abstract:
Provided are methods, apparatuses, and computer program products for calibrating a direction-finding system in a handheld device. A method is provided, which comprises: displaying instructions for orienting a device such that an image of a calibration source through a camera of the device falls in a designated position on a screen of said device; receiving a signal from said calibration source via an antenna array of the device; calculating an orientation angle between said device and said calibration source based on said image of the calibration source; storing pairs of the signal and the orientation angle at various instances while moving or rotating the device to make the image of the calibration source move along a predefined trajectory displayed on the screen; and calibrating a direction-finding system in the device based on the stored pairs of the signal and the orientation angle.