Android Question Best method to upload and download images

Hello everyone, I need your opinion regarding uploading and downloading files to/from a server.

I'm developing an android app which need to upload user product images. Currently I'm using remote MySQL database to store images in long blob filed but when uploading and downloading images I'm feeling bit slow and its limiting the numbers of images(ex: if we add 4 columns only 4 images can add).

So I want your opinion regarding this.

Is there any secure and fast way to upload and download images?
 

DonManfred

Expert
Licensed User
Longtime User
1. It is a bad Databasedesign if you store Images in Blobs.
Better you would store the filename and maybe the path from the file and the image itself should be hostet on your webserver.
2. There is no such thing as uploading an image to a server if the server does not support it.
It is up to you to build the serverpart. Be it a php-script, asmx, whatever.

Is there any secure and fast way to upload and download images?
For both ways you can use okhttputils2 using a SSL url from your server. okhttputils2 can use SSL with no problem (if you use a trusted Certificate).
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…