I'm trying to write an app that has to manipulate my inbox and my sent messages without sending or receiving a message.
This tutorial shows me how I can send messages, but I want my phone to think that I sent one, without actually sending one.
I've searched in the Android References and I think I need to use:
How can I do this?
您可以使用URL“ content:// sms / inbox”和“ content:// sms / sent”获得ContentProvider
并在其中进行insert
。
I'm trying to write an app that has to manipulate my inbox and my sent messages without sending or receivin a message.
Android, the OS, does not have an "inbox" or "sent messages".
Some SMS applications do. However, I am aware of none that offer documented and supported APIs for you to "manipulate" them this way.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.