{"id":13812609,"url":"https://github.com/ahmedeltaher/Prayer-Times-Android-Azan","last_synced_at":"2025-05-14T22:30:49.458Z","repository":{"id":40685532,"uuid":"73611561","full_name":"ahmedeltaher/Prayer-Times-Android-Azan","owner":"ahmedeltaher","description":"Prayer + Time + Android + Kotlin + Azan +  Library + timezone + islamic + salah + Library aiming to calculate prayer time with one line code , if you implement prayer time application , there is no need to do this headache again .","archived":false,"fork":false,"pushed_at":"2022-06-27T13:43:56.000Z","size":18011,"stargazers_count":372,"open_issues_count":10,"forks_count":101,"subscribers_count":26,"default_branch":"master","last_synced_at":"2025-04-06T01:11:15.039Z","etag":null,"topics":["adhan","adhan-player","android","android-library","android-prayer-times","azan","dates","islamic","islamic-prayer-times","java","kotlin","longitude","prayer","prayer-times","prayertime","prayertimes","salah","time","times","timezone"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ahmedeltaher.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-11-13T11:30:02.000Z","updated_at":"2025-03-28T22:35:05.000Z","dependencies_parsed_at":"2022-09-02T13:20:36.161Z","dependency_job_id":null,"html_url":"https://github.com/ahmedeltaher/Prayer-Times-Android-Azan","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmedeltaher%2FPrayer-Times-Android-Azan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmedeltaher%2FPrayer-Times-Android-Azan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmedeltaher%2FPrayer-Times-Android-Azan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmedeltaher%2FPrayer-Times-Android-Azan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahmedeltaher","download_url":"https://codeload.github.com/ahmedeltaher/Prayer-Times-Android-Azan/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254239455,"owners_count":22037713,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["adhan","adhan-player","android","android-library","android-prayer-times","azan","dates","islamic","islamic-prayer-times","java","kotlin","longitude","prayer","prayer-times","prayertime","prayertimes","salah","time","times","timezone"],"created_at":"2024-08-04T04:00:53.724Z","updated_at":"2025-05-14T22:30:48.214Z","avatar_url":"https://github.com/ahmedeltaher.png","language":"Kotlin","funding_links":[],"categories":["Libraries \u0026 Plugins","Prayer Times Calculation and Display (44 projects)"],"sub_categories":["Kotlin"],"readme":"# AZAN\n  \n[![Android Arsenal](https://img.shields.io/badge/Android-Time%20Prayer-brightgreen.svg)](https://android-arsenal.com/details/1/5099)  [![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Date%20\u0026%20Time%20Pickers-orange.svg)](https://android-arsenal.com/details/1/7676)![LICENSE](https://img.shields.io/badge/License-Apache%20License%20V2.0-yellow.svg)  ![Build](https://img.shields.io/badge/Azan-jitpack.io-blue.svg)  ![Kotlin](https://img.shields.io/badge/Kotlin-1.3.x-blue.svg)  \n  \n  \n  \n**What is Azan ?**   \nThe Muslim call to ritual prayer made by a muezzin from the minaret of a mosque (or now often played from a recording) . Muslims have 5 prayers per day, at each time all muslims are notified by Azan, to pray. first Muslims used to calcualte prayer time with sun raise and sun shadows, but to simplyied it and make it moreaccurent speacilly in cloudy cities, Mosques currently use a complex calcualtion based on latitude, longitude, height, timezone, sun raise time.\n\n  \n  \n  \n## What is Azan library?  \n  \nLibrary aiming to calculate prayer time with one line code , if you implement prayer time application , there is no need to do this headache again .  \n  \n![azan-preview](https://user-images.githubusercontent.com/1812129/69456412-df2a3080-0d6a-11ea-98d8-0ebc180984d7.png)\n  \nIslam Time prayers is every complex to calculate, cause there is many variables in this calculations like:  \n  \n- **latitude**  \n- **longitude**  \n- **timezone**  \n- **height**  \n- **The Way of Calculation**   \n\n\nAzan library enables you to determin latitude, longitude, timezone, height, The Way of Calculation as Inputes. \n  \n  \n## Supported Calculation Methods :  \n  \n| Method Name                                          | Fajr Angel           | Isha Angel                                    |  \n|:----------------------------------------------------:|:--------------------:|:---------------------------------------------:|  \n| Umm al-Qura University, Makkah                       | 18.5                 | 90 min after Maghrib , 120 min during Ramadan |  \n| MUHAMMADIYAH                                         | 20                   | 18                                            |  \n| Muslim World League (MWL)                            | 18                   | 17                                            |  \n| Egyptian General Authority of Survey                 | 19.5                 | 17.5                                          |  \n| University of Islamic Sciences, Karachi              | 18                   | 18                                            |  \n| Islamic Society of North America (ISNA)              | 15                   | 15                                            |  \n| Ithna Ashari                                         | 16                      | 14                                            |  \n| Institute of Geophysics, University of Tehran        | 17.7                 | 14                                            |  \n| UOIF (Union des organisations islamiques de France)  | 12                   | 12                                            |  \n| Kuwait Calc method                                   | 18                   | 17.5                                          |  \n  \n  \n## How to use ?  \n  \nAdd it to dependencies in your gradle file   \n  \n- Add it in your root `build.gradle` at the end of repositories:  \n  \n  - in your `allprojects` section , you have to add  `maven { url 'https://jitpack.io' }`   \n\n\u003e     allprojects {  \n\u003e      repositories { \n\u003e                           maven { \n\u003e                                     url 'https://jitpack.io' \n\u003e \t\t\t                      }\n\u003e \t\t\t         }\n\u003e \t\t\t       }\n\n - in your `build.gradle` of your `app` module , Add the dependency\n \n\t**`implementation 'com.github.ahmedeltaher:Azan:3.0'`**\n   \n\n**Example how to get prayer times**  \n  \n \n``` \nval today = SimpleDate(GregorianCalendar())\nval location = Location(30.045411, 31.236735, 2.0, 0)\nval azan = Azan(location, Method.EGYPT_SURVEY)\nval prayerTimes = azan.getPrayerTimes(today)\nval imsaak = azan.getImsaak(today) \nprintln(\"----------------results------------------------\") \nprintln(\"date ---\u003e \" + today.day + \" / \" + today.month + \" / \" + today.year)\nprintln(\"imsaak ---\u003e $imsaak\") println(\"Fajr ---\u003e \" + prayerTimes.fajr()) \nprintln(\"sunrise ---\u003e\" + prayerTimes.shuruq())\nprintln(\"Zuhr ---\u003e\" + prayerTimes.thuhr())\nprintln(\"Asr ---\u003e\" + prayerTimes.assr()) \nprintln(\"Maghrib ---\u003e\" + prayerTimes.maghrib())\nprintln(\"ISHA  ---\u003e\" + prayerTimes.ishaa())\nprintln(\"----------------------------------------\") \n``` \n\n\n\n\n\n## LICENSE  \n  \nAhmed Eltaher 2016  \n  \nLicensed under the Apache License, Version 2.0 (the \"License\");  \nyou may not use this file except in compliance with the License.  \nYou may obtain a copy of the License at  \n  \n http://www.apache.org/licenses/LICENSE-2.0  \nUnless required by applicable law or agreed to in writing, software  \ndistributed under the License is distributed on an \"AS IS\" BASIS,  \nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  \nSee the License for the specific language governing permissions and  \nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmedeltaher%2FPrayer-Times-Android-Azan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahmedeltaher%2FPrayer-Times-Android-Azan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmedeltaher%2FPrayer-Times-Android-Azan/lists"}