RSS
 

Posts Tagged ‘ramadan’

Introducing www.namaz.me

19 Sep

One problem I have always had was getting the Namaz/Salat times for the place I am at a certain time, now there are web sites which give you that information. But there is too much hassle involved in getting the required information. You first have to select your country, then your city and then you are bombarded with lots of advertisements and so on.

I thought that there must be a simpler way. I was aware of the new w3c geolocation api, which is available in firefox 3.5 and in google chrome ( with a certain google plugin, in other browsers as well ). So I decided to use that API in browsers where it would be available, and use IP Geolocation ( from ipinfodb.com ) to get the latitude and longitude position where I am at a certain. After that it is just a mathematical equation to get all the prayer times.

The user interface of the web site is very simple, infact I copied the iphone UI. But the application should theoretically work on all mobile devices ( iphone, nokia, samsung, htc etc ) on all desktop browsers ( firefox, chrome, internet explorer, safari ).

I tried to use w3c geolocation api as much as I could, but for example its not possible to use in safari, internet eplorer, older versions of firefox so then IP geolocation is used. Like wise only iphone and android devices currently support the w3c geolocation api ( android uses google gears ) so for Nokia s60/s40, Windows Mobile, and other devices IP Geolocation is used. Also the opera mini browser is officially not supported and probably never will be, the reason for that is because opera mini uses its servers located in Norway to fetch the data, and www.namaz.me will always think that the user is in Norway. Same is true also for skyfire.

IP Geolocation is not accurate, in some cases it can be only as accurate as the country level.

So do give www.namaz.me a try and report bugs etc.