Android GPS update location

view story

http://stackoverflow.com – I am making simple application which based on phone's location. I am using this code for GPS location. In the main() function I am requesting the GPS location and then I am working with it. (I am calculating the sunrise and sunset) I can get the location, but when I start the application I get the LastKnown location. So, if I want real "new one" location I must wait for GPS lock on and then restart the application. So, my question is: How can I get a "fresh" location? (HowTos)