URLConnection or HTTPClient : Which offers better functionality and more efficiency?

后端 未结 6 2003
臣服心动
臣服心动 2020-11-27 18:45

I looking to create a login form for an android application. I want to use a post method to send information to the server side where it is handle by a PHP file; which in tu

6条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-27 19:19

    If you are not trying to send and receive large files, I'd suggest HttpClient.
    It is much easier to get started and use, and there are much more working examples available on the internet.

    NOTE: This is HttpClient is different than HTTPClient (note case) which is another vendor's implementation.

提交回复
热议问题