开发者

Can you intercept a MMS SMS message and extract the image on Android?

I want to basically intercept a text message that has an image attached, and save that somewhere automatically. Can开发者_StackOverflow中文版 this work on Android?


Yes, this should be possible. You can set up a BroadcastReceiver to watch for the android.provider.Telephony.SMS_RECEIVED and parse the message out of that. There's plenty of examples on the web (and questions on StackOverflow).

As for preventing the user from seeing the original message, see also this answer:
Can we delete an SMS in Android before it reaches the inbox?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜