On Aug 12, 2:33 pm, pcm2a <[email protected]> wrote: > The main Hero widget is a clock with the weather. Every time you turn > your screen on, it reads your gps locations and gives you the weather > in that location. It is obviously reading the gps sensor from the > widget.
Also, it's probably not reading the GPS in the same way you want to read the compass. It's probably using LocationManager to get the last known location, which doesn't require an Activity. At least, that's what I do in my location-aware appwidget. String --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

