149 Android SharedPreferences Tutorial Part 1 |


Launch Your First Android app with our TOP course at 82% OFF (24 hrs ONLY) HERE
“Learn How To Design + Code A Complete App From Scratch To Playstore”

This Android SharedPreferences Tutorial video talks about how to store simple key value pairs in Android using SharedPreferences where the data is stored as XML file inside the data/data/package-name/shared-prefs folder. The only type of data supported is primitive like int, float, long, boolean, String and use the getPreferences or getSharedPreferences to access the SharedPreferences.Editor object that ultimately adds the data and commit the essential changes

Android Data Storage Options



Follow us on

Nguồn: https://khudothidongvan.com/

Xem thêm bài viết khác: https://khudothidongvan.com/cong-nghe/


  1. Its very difficult to get the code of "like button " functionality out of the whole app.
    I want to give a " like button" to the text which is already available in my app and user can just like it.
    I want this coding of like button separately.
    Please help me.

  2. Thank you for your nice video tutorial !
    For a small project android, I need to create an application that can take a picture and keep it saved in a sharedpreferences.
    The part of taking picture I know how do it, but save the picture in sharedpreferences i can not do it.
    Can you help me for solve this problem ?

  3. This is by far the best tutorials I've ever seen on sharedpreferences. Thumbs up! I would like to know what software you used for recording (because of the smooth audio quality).

  4. Hi,

    Now Preference activity is changed a lot.
    Is there any video tutorial of yours in which new way of using PreferenceActivity, Preference, PreferenceFragment are shown?

    Thank you


Please enter your comment!
Please enter your name here