What is the URI for SMS Draft Content Provider?

北城以北 提交于 2020-01-01 12:06:45

问题


What is the Native Content URI for SMS Drafts?


回答1:


Content Provider URI for SMS is commonly

   content://sms/...

and for SMS Drafts it is

   content://sms/drafts/



回答2:


You can open each SMS message part by opening different ways.

  1. Inbox = "content://sms/inbox"
  2. Failed = "content://sms/failed"
  3. Queued = "content://sms/queued"
  4. Sent = "content://sms/sent"
  5. Draft = "content://sms/draft"
  6. Outbox = "content://sms/outbox"
  7. Undelivered = "content://sms/undelivered"
  8. All = "content://sms/all"
  9. Conversations = "content://sms/conversations".


来源:https://stackoverflow.com/questions/10453385/what-is-the-uri-for-sms-draft-content-provider

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!