Start where you are
Use your GPS location to calculate the great-circle direction to the Kaabah.
Find your Qibla using a landmark you can see. Your surroundings become your reference — no magnetic compass required.
Use your GPS location to calculate the great-circle direction to the Kaabah.
Choose a visible landmark, lay your phone flat, and point the reference line toward it.
Lock your reference and use the Qibla line to position your prayer mat.
Keep the phone in the same position after locking the landmark.