Post multipart request with Android SDK

前端 未结 12 2038
余生分开走
余生分开走 2020-11-22 04:38

I\'m trying to do something I thought would be relatively simple: Upload an image to a server with the Android SDK. I\'m found a lot of example code:

http://groups.g

12条回答
  •  清歌不尽
    2020-11-22 05:22

    More easy, light (32k), and many more performance:

    Android Asynchronous Http Client library: http://loopj.com/android-async-http/

    Implementation:

    How to send a “multipart/form-data” POST in Android with Volley

提交回复
热议问题