Qibla App is simple app that can be used to find Kabaa direction for moslem prayer. This app need Compass and GPS sensor on your android device to calculate the angle of your location to Kabaa position, where the position of Kabaa we get at 21.422523 latitude and 39.826184 longitude from Google Maps. And also this app compare the distance based on longitude value between from the right and from the left Kabaa position, so the calculation take the nearest direction of your location.
To more know what the method that we use in this app you can see at video tutorial below:
https://www.youtube.com/watch?v=sbqjYpgmF_Y