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?
精彩评论