JK
Javed Khan Labs
Active DevelopmentAndroid 6.0+ (API 23–36)

Qibla Direction Compass

Accurate, privacy-first Qibla compass for Android.

Qibla is a lightweight, privacy-focused native Android compass built with modern Kotlin and Android Sensor APIs. It requests foreground location only to calculate the great-circle bearing from the user's position to the Kaaba (21.4225° N, 39.8262° E), utilizes the rotation-vector sensor for live orientation, and applies geomagnetic declination corrections for accurate true-north alignment.

True-North Declination

Corrects magnetic variation using Android's built-in geomagnetic declination model.

Rotation-Vector Sensors

Hardware-accelerated orientation tracking with compass needle smoothing.

Qibla Compass Main Screen
Core Capabilities

Engineered for Accuracy & Privacy

Sensor-Based Direction Finding

Uses Android's rotation-vector hardware sensors to provide responsive, smoothed real-time needle movement.

Magnetic Declination Adjustment

Automatically adjusts magnetic heading to true geographic north using Android's built-in geomagnetic declination algorithm.

Alignment Feedback

Clear visual cues with 'Qibla facing' confirmation and subtle haptic vibration when your device faces Mecca.

Accuracy & Calibration Alerts

Detects low sensor confidence and displays an animated figure-eight calibration prompt to ensure compass precision.

Customizable Location Input

Supports device foreground GPS or manual coordinate entry for complete autonomy and offline usage.

Actual Application Interface

Interface & Settings Preview

Live Qibla Compass & Bearing Display

Live Qibla Compass & Bearing Display

Compass Settings, Coordinates & Preferences

Compass Settings, Coordinates & Preferences

App Details & Javed Khan Labs Attribution

App Details & Javed Khan Labs Attribution

Technical Specifications

Platform & SDK Target

Android 6.0+ (API 23–36)

Target SDK 36 (Android 16)

Language & Build Tooling

Kotlin 2.0.21

Android Gradle Plugin 8.13.2

Bearing Calculation

Great-circle forward azimuth

Kaaba anchor: (21.4225° N, 39.8262° E)

Sensor Stack

TYPE_ROTATION_VECTOR

GeomagneticField declination correction

Calibration Detection

SensorManager.SENSOR_STATUS

Animated figure-8 guide on low confidence

Privacy Design

Foreground-only location

Zero location transmission or logging