Thanks Treking,
                        My registration activity show only one time, how can i 
hide this activity after when the user registered to the application mean this 
activity will not show to user.

Regards,
 
umer

From: treking...@gmail.com
Date: Thu, 22 Mar 2012 09:26:15 -0500
Subject: Re: [android-developers] one time Registration after installation of 
an application??
To: android-developers@googlegroups.com

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

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