Qibla direction from your location
Tap “Find the qibla”. On a phone the dial turns with you — turn until the arrow points straight up and you are facing the Kaaba; you never need to know where north is. On a train, bus or in a car it switches to travel mode and tells you the qibla relative to your direction of travel. Your location stays on your device.
Finding the qibla needs a compass — scan with your phone
Your phone has a compass; this computer doesn’t. Point your phone’s camera at the code to open the live qibla compass.
How to find the qibla direction
The qibla is the direction of the Kaaba in Makkah. Its angle is measured clockwise from true north along the shortest path over the Earth’s surface — which is why from North America the qibla points north-east, not south-east as a flat map suggests. Phone compasses are thrown off by metal, magnets and nearby electronics, and magnetic north differs from true north by a few degrees in many places, so move away from them and calibrate the phone by waving it in a figure 8 before use. Inside a train or car the vehicle’s metal and motors disturb the compass, which is why the finder uses the GPS direction of travel once you are moving; without a compass sensor it falls back to the sun’s position.