开发者

any listener for delete sms in android

in my application i would like to get sms information while is deleting from inbox by user. For this is the开发者_Python百科re any listener or else? any one of you plz help me. is there any aletrnate.... ThanQ.


You will need to use a BroadcastReciever to listen for the "android.provider.Telephony.SMS_RECEIVED" intent. This page has a nice example of how to get it set up.

Edit: I don't think(But I am not absolutely sure) there is any way to get notified when a message is about to get deleted. Why does your application need access to the users SMS messages that they are deleting?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜