On Thu, Mar 22, 2012 at 2:58 AM, Muhammad UMER
<muhammad.ume...@hotmail.com>wrote:

>  1) Can it remove data when the cell is close mean shut down?
>

No, Preferences are saved across sessions. They are removed if the app is
uninstalled, along with the rest of the app data.


> in my case i don't want to remove my data even the cell is shut down.
>

Then SharedPreferences will work fine.

>
>            2) I want to store the  User name and phone no only one time,
> after that the application will not ask again to enter these requirements.
>

That's precisely the point of SharedPreferences.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
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

Reply via email to