获取默认的浏览器书签,并存储为文本文件 [英] Get Default Browser Bookmarks, and store to text file
问题描述
如何获得默认的浏览器书签,以及如何存储的默认浏览器书签到文本文件。
How to get default browser bookmarks, and how to store default browser bookmarks to text files.
在此链接,我得到了书签的网址和标签(包括所有子文件夹的网址和标签)。请参阅此链接
<一href=\"http://stackoverflow.com/questions/7626084/get-browser-history-and-search-result-in-android\">Get浏览器历史记录,并在Android的搜索结果
In this links to i got the Bookmarks URL and Label (Include all sub-folders URL and Label). Refer this link Get browser history and search result in android
如何获得在树结构格式的URL的书签和标签。
How to get a Bookmarks URL and Label in the tree structure format.
- 默认浏览器中包含的网址。
- 在此
书签
包含网址
和文件夹
和子文件夹
。 - 每个文件夹包含一些
网址
和文件夹
- 我要如何树结构格式。
- Default Browser contains URL.
- In this
BOOKMARKS
containsURL
andFolders
andSub-Folders
. - Each Folder contains some
URL
andFolders
- How do i get the tree structure format.
例如,怎样才能达到这种树状结构格式
For Example, How do get this tree structure format
BOOKMARKS (Parent Folder)
JAVA (Child Folder)
http://www.java2s.com/
http://roseindia.net/
ANDROID (Child Folder)
ANDROIDDEVELOPER (Child Folder)
http://developer.android.com/index.html
https://play.google.com/store?hl=en
http://developer.android.com
如何让树结构格式。可能吗。请指导我。
How do get tree structure format. Is it possible. Please Guide me.
先谢谢了。
推荐答案
下面添加到Android清单文件提到
Add the below to your Android Manifest file as mentioned
<uses-permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS"/>
这篇关于获取默认的浏览器书签,并存储为文本文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!