Android获取网页内容(HTTP)

上传者: a347585962 | 上传时间: 2021-05-15 11:29:34 | 文件大小: 11.31MB | 文件类型: RAR
Android获取网页内容,利用GET方法请求图书馆查询输入框,解析返回的HTML代码,并将查询结果放入ListView之中显示。

文件下载

资源详情

[{"title":"( 85 个子文件 11.31MB ) Android获取网页内容(HTTP)","children":[{"title":"BookSearch","children":[{"title":"bin","children":[{"title":"classes.dex <span style='color:#111;'> 301.03KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"crunch","children":[{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 5.82KB </span>","children":null,"spread":false},{"title":"book.png <span style='color:#111;'> 31.35KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 9.14KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 17.47KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"jarlist.cache <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"dexedLibs","children":[{"title":"jsoup-1.7.2-17ecbb1e1b3e4b2a10fe2900d42c62aa.jar <span style='color:#111;'> 103.47KB </span>","children":null,"spread":false},{"title":"jsoup-1.7.2-aa0842ddf67a23c7e5b4e8465826cb53.jar <span style='color:#111;'> 103.47KB </span>","children":null,"spread":false},{"title":"htmlunit-core-js-2.15-57cca14e4da6a2a0c826708b5853f921.jar <span style='color:#111;'> 504.57KB </span>","children":null,"spread":false},{"title":"httpmime-4.3.3-692048fcb5b2565797cc17ce2442643a.jar <span style='color:#111;'> 19.24KB </span>","children":null,"spread":false},{"title":"htmlunit-2.15-4a128469af8c9dba2562d79e33fd03ab.jar <span style='color:#111;'> 509.83KB </span>","children":null,"spread":false},{"title":"httpcore-4.3.2-28c56262060f80c91cc91e5d856e2059.jar <span style='color:#111;'> 103.38KB </span>","children":null,"spread":false},{"title":"commons-lang3-3.3.2-8389df0a3ed2d0e48622d4b5fbb3f181.jar <span style='color:#111;'> 198.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"classes","children":[{"title":"com","children":[{"title":"songlin","children":[{"title":"unitTest","children":[{"title":"TestGetHtml.class <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false}],"spread":true},{"title":"booksearch","children":[{"title":"BuildConfig.class <span style='color:#111;'> 353B </span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'> 650B </span>","children":null,"spread":false},{"title":"BookReaultActivity.class <span style='color:#111;'> 2.96KB </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 447B </span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'> 473B </span>","children":null,"spread":false},{"title":"SearchActivity$1.class <span style='color:#111;'> 2.03KB </span>","children":null,"spread":false},{"title":"SearchActivity.class <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 352B </span>","children":null,"spread":false},{"title":"R$menu.class <span style='color:#111;'> 400B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 713B </span>","children":null,"spread":false},{"title":"BookDetailActivity$1.class <span style='color:#111;'> 3.01KB </span>","children":null,"spread":false},{"title":"BookReaultActivity$MyThread.class <span style='color:#111;'> 1.66KB </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 633B </span>","children":null,"spread":false},{"title":"BookDetailActivity$MyThread.class <span style='color:#111;'> 1.66KB </span>","children":null,"spread":false},{"title":"BookReaultActivity$1.class <span style='color:#111;'> 2.28KB </span>","children":null,"spread":false},{"title":"BookDetailActivity.class <span style='color:#111;'> 3.68KB </span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'> 522B </span>","children":null,"spread":false}],"spread":false},{"title":"net1","children":[{"title":"StreamTools.class <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"BookDetail.class <span style='color:#111;'> 3.45KB </span>","children":null,"spread":false},{"title":"Html.class <span style='color:#111;'> 1.95KB </span>","children":null,"spread":false},{"title":"GetHtml.class <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false},{"title":"GetBookTitle.class <span style='color:#111;'> 3.32KB </span>","children":null,"spread":false}],"spread":true},{"title":"dataAdapter","children":[{"title":"DataAdapter.class <span style='color:#111;'> 4.78KB </span>","children":null,"spread":false},{"title":"DataAdapter$1.class <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"DataAdapter$3.class <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"DataAdapter$2.class <span style='color:#111;'> 1.66KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"resources.ap_ <span style='color:#111;'> 76.81KB </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false}],"spread":true},{"title":"res","children":[{"title":"drawable-ldpi","children":null,"spread":false},{"title":"values-v11","children":[{"title":"mystyle.xml <span style='color:#111;'> 387B </span>","children":null,"spread":false}],"spread":true},{"title":"menu","children":[{"title":"main.xml <span style='color:#111;'> 263B </span>","children":null,"spread":false}],"spread":true},{"title":"values-v14","children":[{"title":"mystyle.xml <span style='color:#111;'> 387B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 7.48KB </span>","children":null,"spread":false},{"title":"book.png <span style='color:#111;'> 33.34KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 12.22KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 24.20KB </span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 495B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 697B </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 220B </span>","children":null,"spread":false}],"spread":true},{"title":"values-sw720dp-land","children":[{"title":"dimens.xml <span style='color:#111;'> 277B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false}],"spread":true},{"title":"values-sw600dp","children":[{"title":"dimens.xml <span style='color:#111;'> 203B </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"list_content.xml <span style='color:#111;'> 1.85KB </span>","children":null,"spread":false},{"title":"activity_main.xml <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"activity_book_detail.xml <span style='color:#111;'> 2.08KB </span>","children":null,"spread":false},{"title":"list_foot.xml <span style='color:#111;'> 602B </span>","children":null,"spread":false},{"title":"activity_search.xml <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"title_search.xml <span style='color:#111;'> 521B </span>","children":null,"spread":false},{"title":"activity_search_content.xml <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"proguard-project.txt <span style='color:#111;'> 781B </span>","children":null,"spread":false},{"title":"ic_launcher-web.png <span style='color:#111;'> 50.19KB </span>","children":null,"spread":false},{"title":"assets","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"songlin","children":[{"title":"booksearch","children":[{"title":"BuildConfig.java <span style='color:#111;'> 164B </span>","children":null,"spread":false},{"title":"R.java <span style='color:#111;'> 3.89KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.wst.sse.core.prefs <span style='color:#111;'> 92B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"songlin","children":[{"title":"unitTest","children":[{"title":"TestGetHtml.java <span style='color:#111;'> 2.51KB </span>","children":null,"spread":false}],"spread":true},{"title":"booksearch","children":[{"title":"SearchActivity.java <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"BookReaultActivity.java <span style='color:#111;'> 3.19KB </span>","children":null,"spread":false},{"title":"BookDetailActivity.java <span style='color:#111;'> 4.32KB </span>","children":null,"spread":false}],"spread":true},{"title":"net1","children":[{"title":"Html.java <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false},{"title":"StreamTools.java <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false},{"title":"GetBookTitle.java <span style='color:#111;'> 2.36KB </span>","children":null,"spread":false},{"title":"BookDetail.java <span style='color:#111;'> 2.21KB </span>","children":null,"spread":false},{"title":"GetHtml.java <span style='color:#111;'> 1.69KB </span>","children":null,"spread":false}],"spread":true},{"title":"dataAdapter","children":[{"title":"DataAdapter.java <span style='color:#111;'> 4.89KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 846B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 581B </span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 563B </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false},{"title":"libs","children":[{"title":"htmlunit-2.15-OSGi.jar <span style='color:#111;'> 10.55MB </span>","children":null,"spread":false}],"spread":true},{"title":"lint.xml <span style='color:#111;'> 53B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • 家斌 :
    我也来看看
    2018-03-23
  • huangfine :
    能用,谢谢!
    2016-12-10

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明