本文介绍了Android:获取所有发送的短信?(发件箱)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在编写一个应用程序来备份所有短信.已经研究了一段时间,我刚刚意识到我用来检索短信的方法只能获取我收到的短信(收件箱).
I'm writing an app to backup all text messages. Been working on it for a while and i just realized the method i'm using to retrieve sms' only gets the ones i got (the inbox).
是否有可能以任何方式获得发件箱?
Is it possible, in any way, to get the outbox?
如果它不在 Android API 中,是否可以从默认 SMS 应用程序中以某种方式获取它?即使不是每个人都使用它,它现在也能用,这有点紧急.
If it's not in the Android API, is it possible to get it from the default SMS app somehow? Even if not everybody uses it it will work for now, it's kind of urgent.
推荐答案要获取发送的消息需要阅读sent-directory
to get the sent messages you need to read sent-directory
使用这个 Uri 查询
Use this Uri query
Uri.parse("content://sms/sent");更多推荐
Android:获取所有发送的短信?(发件箱)
发布评论