This application shows you which way faces Mecca, specifically towards the Kaaba in the Masjid al-Haram mosque. When the application starts, it uses your GPS and Network connection to obtain your location. When your location has been found, the application buzzes once, and the direction bar starts providing an indication of how closely you are facing Mecca. When the bar is full to the sky, you are facing Mecca. When you first face Mecca the application buzzes twice, and if you remain facing Mecca for a few seconds the application buzzes three times.
The accuracy of the application depends on the hardware of your phone.
The GPS is now used in preference to the (less accurate) network for getting the phone's location.