三星短信通话记录,我怎么能删除吗? [英] Samsung sms in call log, how can I delete it?

查看:111
本文介绍了三星短信通话记录,我怎么能删除吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

通过部署在三星手机全新的Andr​​oid 2.2+操作系统,通话记录已经换成了一个特殊的超级记录。超级日志还包含有关发送短信的信息。如何删除此类型的日志?我可以使用一个特定URI(内容:// ...)删除呢?我读了三星使用LogsProvider.apk来管理日志,是有它的开源$ C ​​$ C?

With the new Android 2.2+ operating systems deployed on Samsung phones, the call log has been replaced with a special super log. The super log contains also the information about sent sms. How I can delete this type of log? Can I use a particular Uri (content://...) to delete it? I read that Samsung uses the LogsProvider.apk to manage logs, is there the open source code of it?

感谢。 丹尼斯。

推荐答案

乌里用于删除三星日志的内容://日志/ historys。

Uri to be used for deleting Samsung log is "content://logs/historys".

使用此URI来删除特定号码的所有短信记录。

Use this Uri to delete all the sms log of a particular number.

字符串smsLogUri =内容://日志/ historys;

String smsLogUri = "content://logs/historys";

Context.getContentResolver()删除(Uri.parse(smsLogUri),LOGTYPE = 300号怎么样?,新的String [] {phoneNumber的});

Context.getContentResolver().delete(Uri.parse(smsLogUri), " logtype = 300 and number like ?", new String[]{phoneNumber});

LOGTYPE = 300用于仅删除短信日志。 如果要删除所有号码的短信记录,然后使用:

logtype= 300 is used to delete only sms log. If you want to delete sms log of all numbers then use:

Context.getContentResolver()删除(Uri.parse(smsLogUri),LOGTYPE = 300,NULL);

Context.getContentResolver().delete(Uri.parse(smsLogUri), " logtype = 300 ", null);

这篇关于三星短信通话记录,我怎么能删除吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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