Hi everyone, I'm trying to code a clock widget in Android 1.5 for my application, which uses images as the numbers, and updates every second. I'm hoping to have the clock widget extend the View class, so I can use it directly in the layout.xml files.
I need some help/tutorials on getting started on the clock, and also about how to get a precise event every second to tell me to update the clock. (I've tried extending the DigitalClock class, but it always gives me an inflation error.)
Furthermore, how do we get the user location? Does Android stores any kind of user location information anywhere? (e.g - city/state/country the user is currently in) Or do we have to get the GPS or IP address and calculate the location ourselves? Thanks.