Thanks..I got the output...

But still I didn't try the delete action.

Thanks,
Yasmin

On Tue, Nov 11, 2008 at 4:56 PM, Sudha <[EMAIL PROTECTED]> wrote:

>
> Hi
> shared preferences are very simple.
> 1.create it
> prefereceObj = context.getSharedPreferences(preferenceName,
> modeOfAccess)
> 2.to write the data
> 1.obtain the editor
> Editor edr= prefereceObj.edit();
> 2.use edr.putString(key, value)..putBoolean etc etc
> 3.edr.commit()
>
> 3.to read it
> prefereceObj.getFloat(key, defaultvalue if the pref/key is not there);
>
> 4.that it...
>
>
> but I am not getting my answer...
> mine is like a game application.if u ones delete the game.. the data
> will be there and
> if you reinstall it teh game is using the old data..
> thats bad...
> how to do it...
> its behaving like ur desktop application..if u delete the front end
> the back end will be there..
> hmmm
>
> >
>


-- 
Everything is Possible For U only

--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to