Forgot to mention. I'm not sure if you are already using this but the Navy has a nice pearl script you can POST to and retrieve a good bit of Sun/Moon data. They have to forms one allows you to enter the city name and state to get the data (not all cities are listed) the other allows you to specify lat/lon and a few other fields to get that sun/moon data for anyplace in the world.
The forms are below: For City Name/State only: http://www.usno.navy.mil/USNO/astronomical-applications/data-services/rs-one -day-us For the more advanced form: http://www.usno.navy.mil/USNO/astronomical-applications/data-services/rs-one -day-world Let me know if you have any issues using these forms. I'll be more than happy to assist From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of String Sent: Saturday, April 23, 2011 11:41 AM To: android-developers@googlegroups.com Subject: [android-developers] Re: Timezone Question No offense, Bob (and I do mean that, I value your posts on this forum), but I think we can safely assume that the OP knows how to calculate times of sunrise and sunset. He's already showing that in his app, from the sound of things, and is probably doing OK with that aspect. The issue at hand is how (and maybe whether) to work around a user having set their phone to a different zone than the one they're actually in. Nobody says this is affecting the absolute (UTC) time of sunrise/sunset in the calculations, it's purely about display. String -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en