Demo of Keppler's first 2 laws. Complete source code available on the web site.
This app shows a simplistic orrery, but its main function is to help anyone trying to code Keppler's first two laws in Java and especially for Android. All of the information you need on this subject (and on which my code is based) can be found in the book Astronomical Algorithms by Jean Meeus.