Hi Mark, Thanks a again. Because I haven't using this command as before, so I had a problem. Does the sharedPreferences.getInt(INT,VALUE) use in the onUpdate too?
On 5月22日, 下午6時57分, Mark Murphy <mmur...@commonsware.com> wrote: > Step #1: Persist the data (e.g., as a SharedPreference) > > Step #2: Update the app widget using AppWidgetManager and a > RemoteViews object, the same as you do in the onUpdate() method of > your AppWidgetProvider > > > > > > On Sun, May 22, 2011 at 3:18 AM,Perry168<perry...@netvigator.com> wrote: > > Hi, > > I completed the Widget CFG activity and widget. But I don't know to > > send the value to widget. > > At the CFG activity, user can select 1, 2 or 3 value. The widget will > > following the value to running the different case. > > Thanks for help!. > > > -- > > 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 > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > _The Busy Coder's Guide to Android Development_ Version 3.6 Available!- > 隱藏被引用文字 - > > - 顯示被引用文字 - -- 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