O'Reilly logo

Android™ Application Development in 24 Hours, Sams Teach Yourself, Third Edition by Lauren Darcey, Shane Conder, Carmen Delessio

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hour 11. App Setting: Managing Preferences

What You’ll Learn in This Hour

Image Using SharedPreferences to store data

Image Setting user preferences

Image Creating a PreferencesFragment

Image Generating a PreferencesActivity

SharedPreferences(android.content.SharedPreferences) is a class that provides the ability to store data in key-value pairs. This data can be set ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required