Hi Guys,

I've created a Widget and I would like to do something every time it
is on screen.
By on screen, I mean if the user moves to a screen that contains this
widget. I want it to fire something like the below function.

@override
public void onActive(Context context, Intent intent)
{
    // Your widget is visible, do something.
}

Is there a function like this in the Android SDK? The Android clock
widgets seems to function like this, whenever the user moves to a
screen that has an Andorid clock Widget, it updates it's display to
show the current time.

Kind regards,
Cathal

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to