Implementation of the Spherical Trigonometry Algorithm in a Qibla Direction Application
Wisnu Uriawan (1), Andika Nuralamsyah (1), Abidzar Giffari (1), Arief Rahman Mubarok (1), Aisyah Muthmainnah (1), Najwa Naura Salsabilla Herdiyana (1) ((1) Informatics Department, UIN Sunan Gunung Djati Bandung, Jawa Barat, Indonesia)

TL;DR
This paper presents a mobile app that accurately determines Qibla direction using spherical trigonometry, GPS, and device sensors, ensuring precise prayer orientation for Muslims worldwide.
Contribution
It integrates spherical trigonometry algorithms with mobile technology in a cross-platform app, achieving high accuracy and user-friendly design for religious practice.
Findings
Azimuth calculation accuracy within one degree
Successful integration of sensors for real-time data
Stable and user-friendly application performance
Abstract
This research explores the implementation of a spherical trigonometry algorithm in the development of QiblatKita, a mobile-based Qibla direction application designed to address the need for accurate and accessible prayer direction tools for Muslims, especially in the context of global mobility and diverse geographical settings. Built using the Flutter framework to ensure cross-platform compatibility and near-native performance, the application integrates critical device sensors, including GPS, magnetometer, and accelerometer, to collect real-time positional and orientation data. The Agile Software Development Lifecycle (SDLC) was adopted to facilitate iterative refinement and responsiveness to user feedback. By applying the Haversine formula and Spherical Law of Cosines, the system calculates the azimuth angle between the user's location and the Kaaba with high precision, achieving an…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsHistorical Astronomy and Related Studies · Spatial Cognition and Navigation · Historical Geography and Cartography
