How to store Temperoy Data using Shared Preference in android

Shared Preference is the one type of the storage where we can store our temporary data like user details etc…

Share Preference is used when we want only one time registration page after that it entered the application directly every time.When we cleared the data of that application then it will ask for registration.





  • Here We take one other empty activity but we dont need to add code in that activity so we are not showing those code you can add new activity by right click on java package and go to new activity and then select empty activity.


Shared Preferences

Leave a Reply

Your email address will not be published. Required fields are marked *