HonyComb and DefaultHttpClient

后端 未结 4 884
情话喂你
情话喂你 2020-12-03 11:29

In my code I have this

        Log.d(\"WFlog (executeRequest)\", request.toString()) ;
        httpResponse = client.execute(request);  
        Log.d(\"WFlo         


        
4条回答
  •  庸人自扰
    2020-12-03 12:19

    Thanks Nick. It worked for me. For dev purpose I just set the Thread Policy to default by doing this

    *ThreadPolicy tp = ThreadPolicy.LAX;
    StrictMode.setThreadPolicy(tp);*
    

    This should be removed for the final version.

提交回复
热议问题