保存离线浏览网页 [英] save webpages for offline browsing

查看:231
本文介绍了保存离线浏览网页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个Android应用程序,节省了网页中使用它的离线浏览,我是能够保存网页,但问题是内容(图像,JavaScript ..等),有没有办法这样做的编程,我使用Eclipse和测试模拟器上进行我的工作。

i am trying to create an android application that saves webpages to use it in offline-browsing, i was able to save the webpage but the problem was in the contents (images, javascripts,..etc), is there a way to do so programmatically, i use eclipse and test my work on an emulator.

推荐答案

HM,恐怕你应该自己解析HTML的(我的意思做了正确的LIB)和存储所有资源(CSS,JS,图片,视频等)太。
秒。它是如何在Java履带完成:开源爬虫

hm, I am afraid you should parse html's yourself (I mean do that with a properly lib) and store all resources (css, js, images, videos etc.) too. s. how it is done in a java crawler: open source crawlers

这篇关于保存离线浏览网页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆