AsyncTask HttpPost execute fails on 3G, but works on Wifi

前端 未结 8 709
深忆病人
深忆病人 2021-01-04 06:39

I need to do a Http post of some strings to a web service. I am using KSoap.

@Override
protected JSONObject doInBackground(JSONObject... params) {
    String         


        
8条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-04 07:18

    It seems you are having the same issue i had. I spend a lot of time debugging my code but this question solve all my issues-> Your server is accessible from the public internet? android why sending information to server works with WIFI only?

提交回复
热议问题