0

Possible Duplicate:
Android - Querying the SMS ContentProvider?

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.

Community
  • 1
  • 1
John
  • 59
  • 3

1 Answers1

1

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

Community
  • 1
  • 1
roger l
  • 638
  • 5
  • 8