Log outgoing SMS messages on Android
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/5808577/listen-to-outgoing-sms-or-sent-box">Listen to outgoing SMS or sent box</a>  </p>
</blockquote>



<p>Is it possible to intercept outgoing SMS messages in Android. I know it's trivial to receive SMS and send it directly but can an outgoing message (for example, from the default message app or from another possibly malicious app) be detected, intercepted or logged? All I need is a simple log message with the outgoing number and message; I do not need to modify the message. </p>

<p>Uses for this are both legitimate (monitor apps that are sending SMSs) and shady (spy on outgoing messages). I'm going for the former and not the latter :) </p>
