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).

  1. should store images blob or store them seperately , store uri pointing requested image?

  2. 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

Popular posts from this blog

actionscript 3 - TweenLite does not work with object -

php - How can I edit my code to echo the data of child's element where my search term was found in, in XMLReader? -

c# - Global Variables vs. ASP.NET Session State -