获取默认的浏览器书签,并存储为文本文件 [英] Get Default Browser Bookmarks, and store to text file

查看:161
本文介绍了获取默认的浏览器书签,并存储为文本文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何获得默认的浏览器书签,以及如何存储的默认浏览器书签到文本文件。

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.


  1. 默认浏览器中包含的网址。

  2. 在此书签包含网​​址文件夹子文件夹

  3. 每个文件夹包含一些网​​址文件夹

  4. 我要如何树结构格式。

  1. Default Browser contains URL.
  2. In this BOOKMARKS contains URL and Folders and Sub-Folders.
  3. Each Folder contains some URL and Folders
  4. 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屋!

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