Skip to content Skip to sidebar Skip to footer

Send Img To Server

I try send image (after capture) to server via mobilephone (android) To do this i use php script (its uploaded on server) And JAVA code to post image. The URL of php script: http:/

Solution 1:

I recommend you to don't use AsyncTask for this purpose. Instead of AsyncTask try send image with Retrofit 2

UPDATE

This is my project Retrofit2Sample that shows usage of Retrofit 2. I believe that it'll help to understand how it work and show how to work with this awesome rest client.

Post a Comment for "Send Img To Server"