What is the difference between httpconnection on J2ME and HttpUrlConnection on Android (http error 401)

前端 未结 2 821
小鲜肉
小鲜肉 2021-02-09 15:04

I connect to two servers (PROD is https, test server is http) on my applicaitons.

on J2ME: I can connect to this two servers without a problem. on Android I can\'t conn

2条回答
  •  生来不讨喜
    2021-02-09 15:26

    If you're using pre-2.3 devices, HTTPUrlConnection has known issues

    http://android-developers.blogspot.com/2011/09/androids-http-clients.html

提交回复
热议问题