How can i restore the messages in android
<p>I am able to getting all messages with its data, type ,address,status etc. but i am not able restore these messages.I tried the following way.it insert correctly but it show current date not date of message recieved or send.Please help me how can i restore messages.</p>

<pre><code>    ContentValues values = new ContentValues();
    values.put("address", "9878782944");
    values.put("body", "foo bar");
    values.put("date", "1322039220502");
    values.put("type", "1");
    values.put("status", "-1");
    values.put("read", "1");
    values.put("protocol", "0");
    getContentResolver().insert(Uri.parse("content://sms"), values);
</code></pre>
