Use SharedPreferences to store, fetch and edit values using android 3.5.3 | Android app Dev video#31

Published: 04 April 2020
on channel: Code with Sasasushiq
3,987
64

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

For queries contact at:
  / sasasushiq  


android sharedpreferences tutorial,android sharedpreferences,android tutorial for beginners,android application development tutorial,slidenerd android,slidenerd,android,vivz,shared preferences,shared preferences android,shared,preferences,how to use shared preferences,android data storage,data storage shared preferences,how to add shared preferences,shared preferences code,android studio shared preferences,shared preferences android studio tutorial,arsl tech tutorials,arsl tech,shared preferences arsl tech tutorial,android,development,tutorial,beginners,eclipse,studio,sdk,app,application,2015,lesson,download,install,learn,programming,lecture,beginner,android (operating system),sharedpreferences in android,sharedpreferences in android studio,sharedpreferences in android kotlin,sharedpreferences in androidhive,sharedpreferences in android example,sharedpreferences in android javatpoint,sharedpreferences in android abhiandroid,sharedpreferences in android example androidhive,shared preference in android,shared preference in android studio,android sharedpreferences,shared preferences,android sharedpreferences tutorial,android,android tutorial in hindi,android sharedpreferences,sharedpreferences,android studio,software (industry),android (operating system),android development,android development in urdu,jahan numma,jahan numma android development,u4universe,saif channel,saif android development,u4universe android development,android shared preferences,shared preferences in urdu,shared preferences introuduction,shared preferences jahan numma,shared preferences u4universe
Android Shared Preferences Overview
Shared Preferences allows activities and applications to keep preferences, in the form of key-value pairs similar to a Map that will persist even when the user closes the application.

Android stores Shared Preferences settings as XML file in shared_prefs folder under DATA/data/{application package} directory. The DATA folder can be obtained by calling Environment.getDataDirectory().

SharedPreferences is application specific, i.e. the data is lost on performing one of the following options:

on uninstalling the application
on clearing the application data (through Settings)
As the name suggests, the primary purpose is to store user-specified configuration details, such as user specific settings, keeping the user logged into the application.
Basic idea of SharedPreferences is to store things on XML file.

Declare your xml file path.(if you don't have this file, Android will create it. If you have this file, Android will access it.)


Watch video Use SharedPreferences to store, fetch and edit values using android 3.5.3 | Android app Dev video#31 online without registration, duration hours minute second in high quality. This video was added by user Code with Sasasushiq 04 April 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,987 once and liked it 64 people.