如何 在Android6.0 以后获取默认浏览器的上网记录?
查看android 6.0 源码,发现无法再通过contentprovider获取到上网记录,请问哪位大神实现了在6.0 以后获取上网记录的功能吗?
(就连权限申请中都没有READ_HISTORY_BOOKMARKS这项了)。
查看源码发现:
public class Browser {
37 private static final String LOGTAG = "browser";
38
39 /**
40 * A table containing both bookmarks and history items. The columns of the table are defined in
41 * {@link BookmarkColumns}.
42 * @removed
43 */
44 public static final Uri BOOKMARKS_URI = Uri.parse("content://browser/bookmarks");