← All work

Islamic Qibla Detector — Native Compass

Islamic Qibla Detector

A native Android compass that points to the Qibla from GPS and the phone's sensors.

Solo Android developer

What it is

The app computes the bearing to the Kaaba from the user's location. It combines the accelerometer and magnetometer readings, turns the compass in real time, and vibrates when the phone lines up. It includes calibration tips, Arabic and English, and ads. It is the modern version of my Qiblah app, first signed in September 2018.

Highlights

  • GPS and sensor fusion for the Qibla direction
  • Bearing math against the Kaaba's coordinates
  • Calibration tips and vibration on alignment
  • 558 lines of Kotlin, modern Gradle build

Technologies

KotlinGPS / LocationSensorManagerAdMobRTLGlide

Links

ContactWork with me