开发者

How to add SMS in inbox and sent messages in android programmatically?

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜