I'm trying to write an app that has to manipulate my inbox and my sent messages without sending or receiving a message.
This tut开发者_开发技巧orial 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:
- SMS Manager
- SMS Message
How can I do this?
You can get a ContentProvider
with URL "content://sms/inbox" and "content://sms/sent" and do an insert
there.
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.
精彩评论