java - Handling Large Images in Databases for Android Use -


how handle large images in android? have table in mysql, , 1 of columns contains large images(1-3mb) stored blob. did is, increased max_allowed_packet = 900m, wait_timeout = 6000 because got error message "mysql server has gone away".

these images(blob datatype) being downloaded, , stored in android. have heard blob not advisable because consume lot of space in server having large , many images.

one thing mind store images path in database instead of image itself. c:\image.jpg, don't understand how works in downloading images. different real image stored. real image store vs path.

how handle kind of scenario wherein images downloaded should stored in sd card. also, not using web hosting , local server. thanks


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -