Android短信操作常见协议和常用代码
程序员文章站
2023-12-29 12:48:31
content://sms/inbox 收件箱
content://sms/sent 已发送
content://sms/draft 草稿...
content://sms/inbox 收件箱 content://sms/sent 已发送 content://sms/draft 草稿 content://sms/outbox 发件箱 content://sms/failed 发送失败 content://sms/queued 待发送列表 surlmatcher.adduri("sms", null, sms_all); surlmatcher.adduri("sms", "#", sms_all_id); surlmatcher.adduri("sms", "inbox", sms_inbox); surlmatcher.adduri("sms", "inbox/#", sms_inbox_id); surlmatcher.adduri("sms", "sent", sms_sent); surlmatcher.adduri("sms", "sent/#", sms_sent_id); surlmatcher.adduri("sms", "draft", sms_draft); surlmatcher.adduri("sms", "draft/#", sms_draft_id); surlmatcher.adduri("sms", "outbox", sms_outbox); surlmatcher.adduri("sms", "outbox/#", sms_outbox_id); surlmatcher.adduri("sms", "undelivered", sms_undelivered); surlmatcher.adduri("sms", "failed", sms_failed); surlmatcher.adduri("sms", "failed/#", sms_failed_id); surlmatcher.adduri("sms", "queued", sms_queued); surlmatcher.adduri("sms", "conversations", sms_conversations); surlmatcher.adduri("sms", "conversations/*", sms_conversations_id); surlmatcher.adduri("sms", "raw", sms_raw_message); surlmatcher.adduri("sms", "attachments", sms_attachment); surlmatcher.adduri("sms", "attachments/#", sms_attachment_id); surlmatcher.adduri("sms", "threadid", sms_new_thread_id); surlmatcher.adduri("sms", "threadid/*", sms_query_thread_id); surlmatcher.adduri("sms", "status/#", sms_status_id); surlmatcher.adduri("sms", "sr_pending", sms_status_pending); surlmatcher.adduri("sms", "sim", sms_all_sim); surlmatcher.adduri("sms", "sim/#", sms_sim);