views:

564

answers:

4

Can anyone tell me where to find a Java library that does Muslim prayer time calculation based on the city? Maybe a web service? I would prefer a Java library.

+2  A: 

I think Ubuntu Muslim Edition uses this type of features in a calendar, maybe you could search around there

Valentin Rocher
I found this library http://www.arabeyes.org/project.php?proj=ITL but its in c++ , I think i will have to write one in Java
hkhalifa
do give it a try. I would love to see it in action.
Ibn Saeed
+4  A: 

http://www.javafr.com/codes/PRAYER-ALERT-SALA_40601.aspx

hello, it's not a library but a student project. But quite well executed.

Or : http://www.directionsmag.com/article.php?article_id=2956 A method to calcul prayer time with google map+local time ( in short : check where you are, check how far your are from the Makkah , apply the right formula )

Antoine Claval
A: 

I think that is come out port of ITL for Java on sourceforge.net

There is also working implementation for C#

adopilot
A: 

Isalmicfinder.org has a very good XML webservice that you can customize for your city and method of calculation. You can use it in a iFrame or call it from your favorite platform as an XML document which you can parse however you want. I implemented here http://www.iccredlands.org/prayertimes. It works very nicely.

Nasir