Join the social network of Tech Nerds, increase skill rank, get work, manage projects...


How to Save and Get Same Hash Map Using Shared Preference in Android

Hash Map is a type of Array list containing special key for every element within it, while Shared Preference is being used to save data like String, Boolean, Integer and other primitive data type.     So, in this tutor...

Shared Preferences in Android

Android provide many ways to store or save data of an application, one of the method is using Shared Preferences. Shared Preferences are used to store and retrieve primitive data information(such as int, boolean, and String). The data is stored i...

How to use SharedPrefrence in Android

SharedPrefrence help us to store private primitive app data in form of key value pairs, but the data is lost when you uninstall the application or you clear application data through settings.To use the SharedPrefrence in your android app follow t...

How to use Shared Perference in android?

Here I have created Shared Perference function. Shared PerFerence is used to display a screen with some text fields. Shared Perference saved value is used when we close application. The below code will clearly describe you how to use Shared Perfe...

How to use SharedPreferences in Android to store, fetch and edit values

SharedPreferences are used to store primitive data types in Android such as int, long, float, string. SharedPreferences have an added advantage over storing data in singleton class as Singleton class can store data and available throughout the ap...

Storing and retrieving String[ ] Array using SharedPreferences in Android.

I came across to the many questions asking about to store some kind data in Shared-preferences such as String[] array. Many of these questions are answered with "Use a database". But here i will show you a perfect piece of code by which you ...
Sign In

Sign up using

Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: