Modifying MMS to remove delete functionallity?
<p>I am an experienced c/c++/php programmer. I'm new to Java and Android.  To get my learning kickstarted, I would like to modify the mms source code to remove the ability to delete text messages (My kids, ages 12 and 14,  have android phones, and knowing that they can't delete text messages should help to keep their conversations clean!). More specifically, I want to modify the mms code so that you need a pin to delete messages.  All of our phones are rooted, so replacing the entire app if need be isn't a problem.</p>

<p>Modifying/creating the source is no problem, my question is more a matter of the correct way to do it.  Does android or provide a way to "intercept" that a user has chosen to delete a text message, so that I can patch my own handling code in a separate external app? Or do I need to directly modify and build the mms source code and replace it on the target device to accomplish this?</p>

<p>Any tips are greatly appreciated!
thanks!</p>
