Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法检测到 MMS 消息已从本机消息传递客户端中删除?现在我有一个观察者注册Mms.CONTENT_URI但onChange没有被调用。
Mms.CONTENT_URI
onChange
注册并从收到的意图BroadcastReceiver中获取已删除的消息:Mms.Intents.CONTENT_CHANGED_ACTIONUri
BroadcastReceiver
Mms.Intents.CONTENT_CHANGED_ACTION
Uri
Uri u = (Uri)intent.getExtras().get(Mms.Intents.DELETED_CONTENTS);