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
I can get one later (don't have my android code at work) but you can
probably find several by doing some google searches and/or searching this
group.
--
There are only 10 types of people in the world...
Those who know binary and
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
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
4 matches
Mail list logo