如何在 Android 上访问 SMS 存储? [英] How to access the SMS storage on Android?

查看:29
本文介绍了如何在 Android 上访问 SMS 存储?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这里是 Android 开发初学者.

Beginner Android dev here.

我正在尝试创建一个应用程序,该应用程序将读取存储在设备上的 SMS 消息,然后向用户提供有关他们习惯的统计信息(例如他们经常向谁发送消息、常用词等).

I'm trying to create an app that will read the SMS messages stored on the device and then give the user statistics about their habits (like who they message often, common words, etc).

但据我所知,似乎没有办法做到这一点.我在论坛上环顾四周,大多数人谈论的是访问收件箱,在那里您可以找到用户尚未阅读的消息.那么默认应用程序和第三方(例如 Handcent)如何显示相同的文本?他们不保留自己的数据库,因为 Handcent 会在全新安装时显示所有文本.

But to my knowledge, there doesn't seem to be a way to do this. I've looked around on forums and the most anyone talks about is accessing the inbox where you can find messages the user hasn't read. How then can the default app and third-party (Handcent for example) display the same texts? They don't keep their own database because Handcent will display all texts upon fresh install.

tl;dr:我如何在 Android 设备上阅读 SMS 消息,特别是之前阅读过的消息.

tl;dr: How do I read SMS messages on an Android devices, specifically messages that have been read before.

推荐答案

有关访问 SMS/MMS 数据库的具体示例,请查看 gTalkSMS.

For a concrete example of accessing the SMS/MMS database, take a look at gTalkSMS.

这篇关于如何在 Android 上访问 SMS 存储?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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