The built-in widgets on the hero do not use the widget framework.  They run
inside integrated inside of the home screen.  What you can do with the
platform widget framework is more limited, since it needs to carefully
juggle security, overhead, and performance issues while allowing for two
completely unrelated pieces of code (the home screen and the widget) to work
together.

On Wed, Aug 12, 2009 at 6:33 AM, 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.  I am looking to do something similar, except I want to read
> the compass.
>
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to