View Single Post
ejasmudar's Avatar
Posts: 800 | Thanked: 957 times | Joined on Sep 2010 @ India
#30
Originally Posted by abuelmagd View Post
This is doable but might take us quite some time. We are already using a library that uses the great circle method to find the direction of the qibla.

So what we would need to add is an algorithm that also finds the direction to the sun, which updates itself over the course of the day and we can display the relative positions based on that.
Hmmm, yeah you are right. You may have to do both these together. But IMHO, only then will the qibla direction feature become really useful. In my N95, it helped me a lot, whether i was just a few blocks away or a few 100 kms away from home/mosque.

Hope you take this into consideration, atleast for a future 0.3 version.

EDIT: Here http://ssd.jpl.nasa.gov/horizons.cgi, the data is available. Maybe the required data can be pulled from here? They have a Web and telnet interface. Would that be enough?

Last edited by ejasmudar; 2011-02-08 at 15:35.
 

The Following User Says Thank You to ejasmudar For This Useful Post: