title: How can I restore the messages in android?
body: <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 inserts correctly but it shows 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>