Friday, March 4, 2011

Re: [android-developers] Re: Can Android widgets be homescreen aware?

The interaction is the opposite - a widget provides a RemoteViews object which is used to render the widget without any further involvement by the widget provider.

For some of the things you asked about, though, there are broadcast actions you can catch and update your widget as necessary

04.03.2011 12:49 пользователь "babeinwoods" <vivek.pundir@gmail.com> написал:
> So when homescreen renders itself, it leaves no signals that apps/
> widgets could catch and act on?
>
> On Mar 3, 8:02 pm, Justin Anderson <magouyaw...@gmail.com> wrote:
>> AFAIK this is not possible
>>
>>
>>
>>
>>
>>
>>
>> On Thu, Mar 3, 2011 at 11:59 AM, babeinwoods <vivek.pun...@gmail.com> wrote:
>> > Do Android homescreen widgets "know" when user returns to that
>> > homescreen? Specifically, can a widget know (and use this knowledge)
>> > when a user comes back to that homescreen after:
>> > - unlocking the device
>> > - swiping back from another homescreen
>> > - completing a phone call
>> > - closing an app
>> > - closing a popup
>> > - pressing dedicated home soft/hard button
>> > - closing all-app list
>> > etc
>>
>> > I want to update the content upon every return to homescreen.
>>
>> > --
>> > 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
>
> --
> 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

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