Android中获取网页中的指定内容源码

上传者: jasonzhou613 | 上传时间: 2021-05-17 21:00:09 | 文件大小: 1.72MB | 文件类型: ZIP
得到网页中的代码,再通过jsoup进行解析和遍历以得到指定的内容。 里面包含了jsoup-1.7.2.jar。该程序是基于android4.0下编写的。欢迎大家提出建议。

文件下载

资源详情

[{"title":"( 53 个子文件 1.72MB ) Android中获取网页中的指定内容源码","children":[{"title":"GetWebTitle","children":[{"title":"jsoup-1.7.2.jar <span style='color:#111;'> 286.79KB </span>","children":null,"spread":false},{"title":"GetWebTitle","children":[{"title":".project <span style='color:#111;'> 847B </span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 563B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"com","children":[{"title":"example","children":[{"title":"checkupdata","children":[{"title":"MainActivity.java <span style='color:#111;'> 2.73KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 869B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"values-large","children":[{"title":"dimens.xml <span style='color:#111;'> 167B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-ldpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 2.94KB </span>","children":null,"spread":false},{"title":"ic_action_search.png <span style='color:#111;'> 3.05KB </span>","children":null,"spread":false}],"spread":true},{"title":"menu","children":[{"title":"activity_main.xml <span style='color:#111;'> 203B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 1.92KB </span>","children":null,"spread":false},{"title":"ic_action_search.png <span style='color:#111;'> 2.96KB </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"activity_main.xml <span style='color:#111;'> 983B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.91KB </span>","children":null,"spread":false},{"title":"ic_action_search.png <span style='color:#111;'> 3.12KB </span>","children":null,"spread":false}],"spread":false},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 247B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 89B </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 166B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 177B </span>","children":null,"spread":false}],"spread":true},{"title":"assets","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"example","children":[{"title":"checkupdata","children":[{"title":"BuildConfig.java <span style='color:#111;'> 165B </span>","children":null,"spread":false},{"title":"R.java <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"libs","children":[{"title":"android-support-v4.jar <span style='color:#111;'> 329.65KB </span>","children":null,"spread":false},{"title":"jsoup-1.7.2.jar <span style='color:#111;'> 286.79KB </span>","children":null,"spread":false}],"spread":true},{"title":".classpath <span style='color:#111;'> 423B </span>","children":null,"spread":false},{"title":"proguard-project.txt <span style='color:#111;'> 781B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"resources.ap_ <span style='color:#111;'> 20.01KB </span>","children":null,"spread":false},{"title":"GetWebContent.apk <span style='color:#111;'> 252.22KB </span>","children":null,"spread":false},{"title":"classes","children":[{"title":"com","children":[{"title":"example","children":[{"title":"checkupdata","children":[{"title":"R$layout.class <span style='color:#111;'> 418B </span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'> 410B </span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'> 355B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 462B </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 355B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 469B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 723B </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 528B </span>","children":null,"spread":false},{"title":"R$menu.class <span style='color:#111;'> 412B </span>","children":null,"spread":false},{"title":"MainActivity.class <span style='color:#111;'> 4.34KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 869B </span>","children":null,"spread":false},{"title":"dexedLibs","children":[{"title":"android-support-v4-9d1ea82d80be714bfbe6d43c5191959e.jar <span style='color:#111;'> 129.39KB </span>","children":null,"spread":false},{"title":"annotations-f4f7b9103eece400389f36cf69fc1cbf.jar <span style='color:#111;'> 943B </span>","children":null,"spread":false},{"title":"jsoup-1.7.2-fe9fe4d22b22361a9871c6b1f488c10f.jar <span style='color:#111;'> 103.47KB </span>","children":null,"spread":false}],"spread":false},{"title":"jarlist.cache <span style='color:#111;'> 119B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"drawable-ldpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 4.03KB </span>","children":null,"spread":false},{"title":"ic_action_search.png <span style='color:#111;'> 409B </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 2.59KB </span>","children":null,"spread":false},{"title":"ic_action_search.png <span style='color:#111;'> 311B </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 5.33KB </span>","children":null,"spread":false},{"title":"ic_action_search.png <span style='color:#111;'> 491B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"classes.dex <span style='color:#111;'> 746.67KB </span>","children":null,"spread":false},{"title":"CheckUpdata.apk <span style='color:#111;'> 153.33KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"Jsoup解析HTML.doc <span style='color:#111;'> 106.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • 机智的程序DOG :
    非常好用 谢谢分享
    2019-07-11
  • xgc2004 :
    参考一下 刚学
    2017-09-14
  • gtchjc :
    感谢,可用的demo
    2017-06-14
  • pan000001 :
    安卓新人,第一个程序都还未做出~加载后,看到工程有错误~展开所有都找不到错在哪。。。之后放弃了
    2016-12-06
  • shufusheng :
    感谢,可用的demo
    2016-04-22

免责申明

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