Git Product home page Git Product logo

Comments (7)

iqfareez avatar iqfareez commented on June 26, 2024

Comparison with other apps and websites

This experiment is conducted in Felda Sungai Kemahal (lat: 3.184531, lang: 102.278294), so, with our current knowledge, the prayer time zones should resolve to PHG04

Android apps

Apps Screenshot Result
Waktu Solat Malaysia Screenshot_2023-04-20-16-10-06-066_com.murad.waktusolat.jpg PHG03
Waktu Solat Malaysia - JAKIM Screenshot_2023-04-20-16-19-57-675_amgstudio.waktusolatmalaysia.jpg No auto location detection 〰️
mySolat Screenshot_2023-04-20-16-24-47-655_my.gov.onegovappstore.mysolat.jpg No auto location detection 〰️
Malaysia Prayer Times Screenshot_2023-04-20-16-28-22-172_com.i906.mpt.jpg Wrong time, so wrong location detected ❌
Muslim Pro Screenshot_2023-04-20-16-41-56-480_com.bitsmedia.android.muslimpro.jpg Wrong detection ❌
The Noor Screenshot_2023-04-20-16-45-49-385_com.thenoor.app.jpg Wrong detection (PHG03) ❌
Qalby App Screenshot_2023-04-20-16-47-19-804_io.Qalby.app.jpg Wrong detection (PHG03) ❌

Website

Website Screenshot Result
Portal e-Solat as above PHG04
Google Search Screenshot_2023-04-20-16-51-03-231_com.android.chrome.jpg ??
WaktuSolat.my Screenshot_2023-04-20-16-51-32-315_com.android.chrome.jpg PHG03

API

API Screenshot Result
https://mpt.i906.my/api/prayer/3.184531,102.278294 image JHR02 ❌🤨

Conclusion

None of the services above resolved to the correct prayer time zones except for official JAKIM website. Hmm.

from app_waktu_solat_malaysia.

iqfareez avatar iqfareez commented on June 26, 2024

The reference point for counting prayer times for all states in Malaysia

AzanPro

In the app, I'm using snapshot database from AzanPro API. The API seems to be down at the moment, however, the database is as follow:

https://github.com/mptwaktusolat/app_waktu_solat_malaysia/blob/a78f5086bdb74b97c496e530f1c71f1b342bd954/lib/location_utils/location_coordinate.dart

Map visualization:

azan pro location map tabulation

JAKIM

"Titik rujukan hituangan waktu solat bagi seluruh negeri di Malaysia" from JAKIM Official.

https://www.e-solat.gov.my/index.php?siteId=24&pageId=43

PDF Receipt: Lampiran B.pdf

The file seems not up to date to recent changes in prayer zones ie the change of KTN03 -> KTN02, and the addition of NGS03. #160 #164

JAKIM Zones tabulation

Map visualization tool

https://github.com/mptwaktusolat/jakim_zones_map

from app_waktu_solat_malaysia.

iqfareez avatar iqfareez commented on June 26, 2024

A thesis: Multiple Reference Point in Determining Zone-based Prayer Time in Selangor

#readthislater

http://www.pertanika.upm.edu.my/resources/files/Pertanika%20PAPERS/JSSH%20Vol.%2025%20(S)%20Feb.%202017/03%20JSSH(S)-0342-2016-4thProof.pdf

from app_waktu_solat_malaysia.

iqfareez avatar iqfareez commented on June 26, 2024

MPT Server's new API

A recent addition to the MPT-Server is the ability to determine user prayer time zone by their GPS coordinate. The method to achieve those is similar to what MPT app has implemented ie by checking the closest reference point in that negeri.

Example: https://mpt-server.vercel.app/api/zones/gps?lat=4.12&lang=102.5
Refer: https://waktusolat.iqfareez.com/api#tag/zones/operation/getZonesbyGps

MPT-Server doesn't rely on Google's geocoding service, but instead, utlizes GeoJson information from:

Other possible sources to look for:

from app_waktu_solat_malaysia.

iqfareez avatar iqfareez commented on June 26, 2024

I'm currently working on added JAKIM Zone to a GeoJson in https://github.com/mptwaktusolat/malaysia.geojson

The added data can be visualized in Prayer Zone Visualization app.

image

from app_waktu_solat_malaysia.

iqfareez avatar iqfareez commented on June 26, 2024

Adding the JAKIM zones to all states in https://github.com/mptwaktusolat/malaysia.geojson is almost finished.

In the meantime, I have tried the geojson to retrieve result based on latitude and longitude. Preview deployment: https://mpt-server-ab9mhxi0m-iqfareez.vercel.app/

from app_waktu_solat_malaysia.

iqfareez avatar iqfareez commented on June 26, 2024

Issue fixed. App now will enquire the server for prayer time zone

from app_waktu_solat_malaysia.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.