Re: [android-developers] How to update a widget from data passed from activity
On Sat, May 26, 2012 at 2:05 AM, Sunil Mishra <suniljmishra@gmail.com> wrote:
I want to pass data from activity to widget.
You don't "pass data" to a widget. It's a shell. It just shows something. You do your logic in your Activity or Service, then update the look of the widget to reflect the state of the data.
The concept shown here applies:
http://developer.android.com/guide/topics/appwidgets/index.html#UpdatingFromTheConfiguration
-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
--
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
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home