Android Tutorial

(avery) #1

By : Ketan Bhimani


326 

Storing Nonprimitive Types (Such as Images) in the
Database

Because SQLite is a single file, it makes little sense to try to store
binary data within the database. Instead store the location of data,
as a file path or a URI in the database, and access it appropriately.
We show an example of storing image URIs in the database in the
next chapter.
Free download pdf