Simply Lunar
· v1.4.0.d
About
This widget shows the Lunar Azimuth & Elevation and today's rising & setting times at the current location. It can also display the current phase of the moon, its approximate percentage illumination, its age in days and the time to the next New & Full moons.
Press Select to show the times in either mode. Use Menu to switch between the two display modes.
Use Settings to choose whether or not to display the compass point name (N, E, S, W etc) of the azimuth.
Icons made by srip (https://www.flaticon.com/authors/srip) from Flaticon.
Thank you Peter Bleakley and Holger Haug for suggestions and for helping me to test the widget. Thank you Kim de Wildt for the non-English labels.
I found many different lunar phase codes & websites which all give slightly different results! Mine is mainly based on mooncalc.c by John Walker (http://www.fourmilab.ch)
The azimuth and elevation calculation is based on PHP code by Dubravko Loborec, http://www.dubravkoloborec.com, which was in turn based on the Matlab code by Darin Koblick (https://www.mathworks.com/matlabcentral/profile/authors/1284781-darin-koblick)
Copyright (c) 2010, Darin Koblick
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
The moon rise & set calculation is based on the algorithms in PASCAL from Astronomy on the Personal Computer, Oliver Montenbruck and Thomas Pfleger, Springer 1994, 3rd edition ISBN 3-540-63521-1
What's new
Further attempt to fix occasional crash on some devices. Built with SDK 9.2.0 (Version 1.4.0.d)
Attempt to fix occasional crash on some devices. Built with SDK 9.1.0 (Version 1.4.0.c)
Added support for latest devices. Built with SDK 9.1.0 (Version 1.4.0.b)
Added support for more devices. Built with SDK 9.1.0 (Version 1.4.0.a)
Added Moon Rise & Set times. Built with SDK 9.1.0 (Version 1.4.0)
Added support for sone Instinct devices. Built with SDK 8.4.1 (Version 1.3.3)
Added support for more devices. Built with SDK 8.3.0 (Version 1.3.2.e)
Added support for more devices. Built with SDK 8.2.3 (Version 1.3.2.d)
Added support for more devices. Built with SDK 8.2.1 (Version 1.3.2.c)
Added support for more devices. Built with SDK 8.1.1 (Version 1.3.2.b)
Added support for more devices. Built with SDK 8.1.1 (Version 1.3.2.a)
Added support for more devices. Made display of compass point optional. Built with SDK 7.3.1 (Version 1.3.2)
Added names of compass points to Glance view. Tweaked display for Edge 540/840. Built with SDK 6.4.2 (Version 1.3.1)
Improved GPS code. Added names of compass points. Added support for some new devices. Built with SDK 6.4.2 (Version 1.3.0)
Modified Glance mode layout slightly. Built with SDK 4.1.7 (Version 1.2.1)
Rebuilt with SDK 4.1.7 with support for some new devices. Added labels in Dutch, French and German (Version 1.2.0)
Rebuilt with SDK 4.1.4 with support for latest devices. (Version 1.1.2)
Restructured some code to try to avoid occasional crashes, rebuilt with SDK 4.1.3. (Version 1.1.1)
Rebuilt with SDK 4.1.2 with support for D2 Mach 1. (Version 1.1.0.av)
Rebuilt with SDK 4.0.10 for new models. (Version 1.1.0.v)
Rebuilt with SDK 4.0.2 for latest models. (Version 1.0.0.a)