Android SDK 中有HTTP相关的接口。你确认Httpclient3.1 在android上可以使用么?

解决方案 »

  1.   

    3.1可以用啊,不过会有个提示
     warning: Ignoring InnerClasses attribute for an anonymous inner class that doesn't come with an associated EnclosingMethod attribute. (This class was probably produced by a broken compiler.)ER..终于知道原因咯=,=在Android中没报错的,不过我在Servlet里面放错位置,就以为......现在好了 谢谢咯
      

  2.   

    ER,现在想,要怎么才能在那个Servlet里面检测那个timeout呢?就是timeout的时候返回字符串~!~