移动应用开发课件:网络访问.pptVIP

  • 3
  • 0
  • 约8.77千字
  • 约 42页
  • 2024-03-27 发布于湖南
  • 举报

使用线程访问网络一、访问因特网(HTTP)newThread(){publicvoidrun(){try{//执行网络连接mHandler.post(newRunnable(){publicvoidrun(){status.setText(“Parsing...);}});//执行解析代码mHandler.post(newRunnable(){publicvoidrun(){status.setText(“Done...);}});}catch(Exceptione){//异常处理}}}.start();WebService是一种基于SOAP协议的远程调用标准。通过WebService可以将不同操作系统平台,不

文档评论(0)

1亿VIP精品文档

相关文档