title: how to i know in  my application, when i sent new message?
body: <p>I am developing one application related to messages.</p>
  
  <p>in my application i am getting all sent messages,by using contentresolver.</p>
  
  <p>the code is</p>
  
  <pre><code>c = getContentResolver().query(SMS_sent,null, null, null, null);
  
          startManagingCursor(c);
  if(c!=null)
         {
  
          ((LinearLayout)findViewById(R.id.linearLayout11)).setVisibility(View.GONE); 
  
           String columns ="body";
               String columns1 = "address";
  
          SimpleCursorAdapter adapter2 = new SimpleCursorAdapter(this, R.layout.main2,c, 
                      new String[] {columns1,columns},  new int[]{R.id.textView2, R.id.textView4}); 
                      ListView empListView = (ListView)findViewById(R.id.listView1);
                      empListView.setAdapter(adapter2);
  }
  </code></pre>
  
  <p>it is working fine.</p>
  
  <p>my requirement is when i am sending new message,</p>
  
  <p>i want to hanlde  that in my application.</p>
  
  <p>If any one know the solution,Please help me</p>
  
  <p>Thanks in advance</p>