views:

165

answers:

1

Does anyone know the solution to this problem in android?

  1. Can we get any event when a user delete SMS from Android messaging application.
  2. If yes, then how will we intercept Android messaging application.

Please share your suggestions on these issues.

+1  A: 

I don't know if it's possible but I guess you need to do something similar to what AdamK explained here

Macarse
Thanks for replying back, but i dont think we have same filter for deleting sms.Let me put my req. more precisely.-> When user deletes any SMS, App should be notified.-> Basically i want to prevent users to delete messages in certain situations.Please share your thoughts.
dhaiwat
@dhaiwat: I just checked the logs when you delete a thread and a sms and there is no intent sent. Also if you go through the sms app's manifest there is no intent-filter for that. So I guess it's impossible.
Macarse
Any buddy have any different opinion??
dhaiwat