删除市场的历史 [英] Delete market history

查看:144
本文介绍了删除市场的历史的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的任务是清除/删除市场的历史编程。我搜索,发现,删除的 会做的事,但这个位置没有访问权限。

My task is to clear/delete market history programmatically. I searched and found that deleting "/data/data/com.android.vending/databases/suggestions.db" will do the task but no access to this location.

请让我知道有没有什么方法可以授予访问该位置或任何其他方式来清除市场的历史编程。我没有一个根深蒂固的设备。

Please let me know is there any way to grant access to this location or any other way to clear market history programmatically. I dont have a rooted device.

感谢

推荐答案

属于一个应用程序的文件无法访问给他人,除非他们已经被明确标记为世界可读(或者,在一些非常罕见的情况下,全球可写的)。

Files belonging to one application are inaccessible to others unless they've been explicitly marked world-readable (or, in some very, very rare cases, world-writable).

为你清除历史记录将是市场应用提供了这样做的意图的唯一方法。这不,那么简单的答案是,你不能这样做编程。

The only way for you to clear the history would be for the Market application to offer an intent that does so. It doesn't, so the short answer is that you can't do it programmatically.

这篇关于删除市场的历史的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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