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

前端 未结 2 827
小鲜肉
小鲜肉 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:19

    I solved this problem. I use ip adress instead of link. Server was Sharepoint server so, It tries to connect to directly sharepoint server, so server wants Authentication:) Dont use directly ip:)

提交回复
热议问题