Thursday, July 14, 2011

Re: [android-developers] Re: Android Widget onActive()

On Wed, Jul 13, 2011 at 10:36 AM, cathal coffey <coffey.cathal@gmail.com> wrote:
> You said that what I described --the android clock-- is not an app
> widget... then what is it?

It might be part of the home screen. Try installing an alternative
home screen, see if you can add the clock, and see if it behaves as
you expect.

If it is an app widget and works this way, you are welcome to peek at
the source code for it to see how it does that.

> I need to know when a user is viewing my app widget (i.e. when my app
> widget is being drawn) surly there is a way to accomplish this using
> the android SDK???.

No.

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android App Developer Books: http://commonsware.com/books

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment