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" <[email protected]> написал: > 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 <[email protected]> wrote: >> AFAIK this is not possible >> >> >> >> >> >> >> >> On Thu, Mar 3, 2011 at 11:59 AM, babeinwoods <[email protected]> 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 [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 > > -- > 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 -- 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

