that is really too bad.

it would be a huge battery saver and make widget use more realistic.
for non-zero widget update periods, it should just automatically avoid
updating the widgets if they aren't visible. for manual alarm-updated
widgets, there should be a way to ask if the widget is visible.

i'm struggling with a related problem ... trying to tell if a widget
has been removed from the desktop. i need to stop the service that is
running to update the widget in this case.

On Nov 8, 7:25 pm, Romain Guy <[email protected]> wrote:
> There's no way of knowing that.
>
>
>
> On Sun, Nov 8, 2009 at 7:17 PM, Jimmy Huang <[email protected]> wrote:
> > Does anyone can help me?
>
> > On Nov 6, 3:22 pm, Jimmy Huang <[email protected]> wrote:
> >> Hi All,
>
> >> Does anyone know how to detect the Widget in home screen is active in
> >> the currentpanel?
>
> >> As you know, some device has manypaneli.e (HTC Hero has 7panel),
> >> eachpanelcan put some widgets on the home screen, then the widget
> >> will run and refresh the data automatically, we want to let the widget
> >> disable the refresh data feature while it is not under currentpanel.
> >> and enable it while it is put to currentpanelagain.
>
> >> Thanks for your help!
> >> Jimmy
>
> > --
> > 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
>
> --
> Romain Guy
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time
> to provide private support.  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