Modifying Data

Data kept by a content provider can be modified by:

• Adding new records

• Adding new values to existing records

• Batch updating existing records

• Deleting records

All data modification is accomplished using ContentResolver methods. Some content providers require a more restrictive permission for writing data than they do for reading it. If you don't have permission to write to a content provider, the ContentResolver methods will fail.

0 0

Post a comment