title: Access content://sms/sent in android 2.2(froyo)
body: <p>i tried to take a data from outbox sms. 
  Here is my code.</p>
  
  <p><code>
                  Cursor cursor = getContentResolver().query(
                  Uri.parse("content://sms/sent"), null, null, null, null);</p>
  
  <pre><code>    String dateColumn = cursor.getColumnIndex("date");
      String bodyColumn = cursor.getColumnIndex("body");
      String addressColumn = cursor.getColumnIndex("address");
  
      output += new StringBuilder("\nMessage to: ").append(addressColumn)
              .append("\n\n").append(bodyColumn);
      Toast.makeText(context, output, Toast.LENGTH_LONG).show();
  </code></pre>
  
  <p></code></p>
  
  <p>But when i start the program will be error, and ask to "force close". </p>
  
  <p>Can anyone help me?</p>