O'Reilly logo

Xamarin Studio for Android Programming: A C# Cookbook by Mathieu Nayrolles

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

Chapter 5. Using On-Phone Data

In the last three chapters we focused our efforts and energy on building a usable and, even more important, a marketable application. Nevertheless, users are still unable to really interact with our application. Indeed, they cannot create a profile, save preferences, or any other data. To address this shortfall, the Android platform allows the utilization of SQLite as an embedded, light, and powerful database. Moreover, in this chapter we will also take advantage of the LinQ mechanisms of the .Net framework to interact with this data.

In this chapter, we will pass through the following recipes:

  • Storing preferences
  • Simple file reading/writing
  • Serializing and deserializing objects into files
  • Using the SQLite database

Introduction ...

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