Logo Icon Logo
A Crowd-sourced Cookbook on Writing Great Android® Apps
GitHub logo Twitter logo OReilly Book Cover Art
Storing and Retrieving Data with a Content ProviderBack to Android Cookbook Home | Up to Chapter: Data Persistence

Author: Ian Darwin ('idarwin')
In Published Edition? No
FormatLanguage: WikiFormat

Storing and Retrieving Data with a Content Provider

Problem

You need to store and retrieve data, and there is a Content Provider that you can use.

Solution

Invoke the Activity's getContentResolver(), and use the ContentResolver methods insert(), update(), and so on.

Discussion

To Follow...

See Also