Ah, this sounds smart :)
Have anyone an example of use of sharedpreferences?
Dr3as
Den 28.04.2010 18:12, skrev Justin Anderson:
Store the text from the configuration screen in the shared preferences
and retrieve it when you update the widget... SharedPreferences
allows you to store things in a Key/Value pair...
----------------------------------------------------------------------
There are only 10 types of people in the world...
Those who know binary and those who don't.
----------------------------------------------------------------------
On Wed, Apr 28, 2010 at 3:13 AM, dr3as <dr3a...@gmail.com
<mailto:dr3a...@gmail.com>> wrote:
I've been playing with a tutorial to make my own countdown widget.
When you add the widget, you get a configurationscreen, you set the
date, and push the ok button.
This works just fine.
But how can i get some text from that configurationscreen to the
widget. I have made a edittext field, but i cant get the text back in
to the widget.
I've been using this as the tutorial, so if anyone wants to help, and
need the sourcecode, you can find it there.
http://www.helloandroid.com/tutorials/mastering-android-widget-development-part5-final
--
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
<mailto:android-beginners%2bunsubscr...@googlegroups.com>
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
--
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
--
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