android messages not saving through sms manager
<p>Hi i have the following code. it doesnot save the messages to my inbox after sending!! i have added all that are required in manifest.xml file. pls help me</p>

<p>{</p>

<pre><code>        SmsManager smsManager = SmsManager.getDefault();
        smsManager.sendTextMessage(pnumber, null, message, null, null);
        Toast.makeText(context,"Message Sent to " + pnumber,
                Toast.LENGTH_SHORT).show();
        ContentValues my_values = new ContentValues();
        my_values.put("body", message);
        my_values.put("address", pnumber);          
        context.getContentResolver().insert(Uri.parse("content://sms/sent"), my_values);
</code></pre>

<p>}</p>
