12.05.2010 21:02, Justin Anderson ?????:
///> App widgets are stateless by design./
True, but depending on what you are wanting to do, you can store state
using SharedPreferences...
Correct.
It's also possible to store state in SharedPreferences, or SQLLite, or
via a web service - but any of those is a mechanism external to
AppWidgetProvider itself.
The Java object declared in the manifest (AppWidgetProvider subclass) is
stateless, and can (and will be) recreated and disposed of by Android.
There are no guarantees about its lifetime - only that appropriate
methods will be called upon relevant events.
--
Kostya Vasilyev -- WiFi Manager + pretty widget --
http://kmansoft.wordpress.com/sw
--
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en