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

前端 未结 8 697
深忆病人
深忆病人 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:14

    i had sometimes same problem ... why? because time out in my case ... depends quantity of bytes are you downloading .... Because did you try a simple call to ws?is it works? =>> time out.

提交回复
热议问题