Hello fellow Android Developers! Today I will show you how to use Shared Preferences in Android to store data. We will be using a SharedPreferences.Editor to save multiple String values, but keep in mind that you can also save other data types like Integers, Floats, Booleans or Long variables.
This tutorial is suitable for beginners, and I take you step by step through the whole process 🙂
Any questions? Feel free to ask below!
Some Keywords for easy navigation for newbies:
android developer website
how to android development
android os application
splash screen android example
android splash screen
splash page website
what is the newest android os
Keywords:
how to make splash screen
how to make splash screen android
android splash screen
splash screen in android studio
android studio
splash screen using android studio
splash screen in android app
android studio
android xml design
xml animation
android gui
xml design
splash screen
transition android
material design
smooth splash screen
Hope you enjoyed the tutorial!
Don’t forget to subscribe 🙂
Tag: sharedpreferences android, android, android apps programming, android app tutorial, sharedpreferences android studio, android store data, android how to save data, shared preferences tutorial, save data, java, sharedpreferences, shared preferences, tutorial, beginners, android tutorial, android studio tutorial, android development for beginners, how to use sharedpreferences, sharedpreferences in fragment android, sharedpreferences in android login example, android save data, database, store data android, how
Xem Thêm Bài Viết Về Mẹo Hay Khác: https://meocongnghe.vn/meo-hay
Nguồn: https://meocongnghe.vn
If you guys have any requests on what tutorials you want to see, just leave a comment below! Thanks for watching 🙂
dude you saved me thank you so much
Just needed this 😀
❤️❤️
Thanks.🙏
It's really clear the way you explain and it's useful for me. Thanks !!
It's not working man it shows shared preference app stopped working
Thanks bro
You are the OG, Thanks for this tutorial!
Thank you for this video and for gracefully teaching me what the android docs couldn't
Hi man, nice video! I got one question tho. Is there a way that the value on the next page changes whenever the user fills in a new value? Now it only saves the first one.
Very nice explanation brother
Thank you.
Not working everytime gives default value
Very helpful , looking forward to more of your videos!!!!!
My left ear is jealous
Como Salvar Variável com SharedPreferences (3min 52 seg)
https://youtu.be/UXbpZlYzBcM
You deserve more subs!
Thank you
A good tutorial, explaining both read and write on different activities, which is rare. Thanks a lot.
Also just to make it simpler for us newbies you may add a new activity 'OtherPage' from the conetxt menu rather than the process you adopted.
Awesome video man really great for api token authentication!!
In RecyclerView there is a cardView and in it, there are multiple checkBoxes. If i select and leave app and come back to app again, those selected checkBoxes must be selected. Can you help me with that bro?
and also tell us how to delete and update the values we saved
Much appreciated…
Can you make shared preferences Part 2 because the input you printed on otherpage.xml will always show there unless you enter the new values… and by clicking on save button it should show us the values we saved… the video was quite easy to understand
Thanks for the vid. If we restart the app will the name still be there if now can you tell me how to do that?
Great work buddy, you deserve more subs.