开发者

How do I watch for SMS for contacts? [duplicate]

This question already has answers here: Closed 11 years ago.

Possible Duplicate:

Android - Querying the SMS Content开发者_如何学运维Provider?

Is there a way to watch for SMS (to and from) certain contacts and run methods on the data before the message is sent to the inbox or outbox accordingly? This would be for android.


The closest you can get is put a ContentObserver on the sms/inbox table, and then read the Messages from there.

This has been answered PLENTY of times. This is the best answer I have seen in a quick look around here.

Android - Querying the SMS ContentProvider?

Please search, at least on here, before you post a question

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜