I want to save and load pictures to/from MySQL database on the server in my Java Android code through http. Till now I used DefaultHttpClient class to communicate with http server using PHP on server side. Is there any way to do what I want with DefaultHttpClient and PHP? Also I would appreciate another solution not using DefaultHttpClient but using PHP. I'd appreciate some code samples.
Asked
Active
Viewed 25 times
0
-
1Picasso , glide etc , google them – Pavneet_Singh Oct 14 '17 at 05:39
-
Do this libraries allow download and upload pics from/to server? Is it better to store in DB filenames only instead of using BLOB field. – John Oct 14 '17 at 05:55
-
not upload only download , for upload use some networking lib like volley , httpURLconnection,retrofit and many more – Pavneet_Singh Oct 14 '17 at 05:57
-
Possible duplicate of [How to upload images into MySQL database using PHP code](https://stackoverflow.com/questions/17717506/how-to-upload-images-into-mysql-database-using-php-code) – Dmitry Oct 14 '17 at 08:03