Android ContentProvider to access photos on phone -


i'm trying write android contentprovider interface images (jpgs) on phone. fields i'd out might filename text, created_date date, modified_date date, image blob (for starters). i'm trying make simple gallery app, master activity shows thumbnails in gridview, , detail activity shows 1 image + meta data. maybe showing exif tags (if any) in jpg file.

i've followed example in udacity course on android apps, there contentprovider against sqlite database on phone. boils down actual sql, "fits" cursors , queries. i'm having difficult time applying non-sql, -- in case -- set of files.

i know there's standard contentprovider mediastore can (should) used access photos , videos, want (and need to) design own cp. however, don't know begin. understanding far write class photoprovider extends contentprovider, following model of weatherprovider. contract , dbhelper classes, analog of those?

hope can point me in right direction.


Popular posts from this blog