由网友(吞云吐雾)分享简介:我试图提取发来的短信。我知道有没有BroadcastReciver这一点。所以,我发现我可以使用ContentObserver听变化分贝。I'm trying to extract the sent SMS. I know there is no BroadcastReciver for this. So I've...
我试图提取发来的短信。我知道有没有BroadcastReciver这一点。所以,我发现我可以使用ContentObserver听变化分贝。
I'm trying to extract the sent SMS. I know there is no BroadcastReciver for this. So I've found that I can use ContentObserver to listen changes in the db.
我如何实现这一点?我的目标是为只得到新的发短信,并通过张贴在DB
How can I implement this? My objective is to get only the new sms sent and send it via POST on the DB
感谢
推荐答案
是的,它可以通过注册的 ContentObserver 内容://短信/
yes it is possible to Listen for new SMS by Registering ContentObserver to content://sms/
看到这个帖子我的回答我们怎么注册ContentObserver内容://短信/
see in this post my answer how we Register ContentObserver to content://sms/
Practical办法找出如果短信已发送
,你也可以从这里下载工作示例
and you can also download working example from here
Contentovserver
相关推荐
最新文章