java - Image storage and retrieval using sqlite db -
i have few questions database storage , retrieval of images. have activity prompts user either take picture using camera or selecting existing gallery. when picture has been taken/selected, shown in activity , should saved in sqlite database (i use own content provider).
should store images blob or store them seperately , store uri pointing requested image?
how show image , save it?
it depends on size of images.
saving images disk , databasing uri's is sensible suggestion photographs, if storing small thumbnails (like avatars), these safely stored blobs without great performance hit.
as application description suggests taking photographs, should use uri's.
Comments
Post a Comment