title: How to make a confirmation after sending sms from emulator to other mobile numbers?
body: <p>Assume,</p>
  
  <p>i have sent a sms from emulator to my mobile number,but my mobile received nothing.Is it possible to view that sent sms on my mobile from "EMULATOR".If so how?</p>
  
  <p>I have done this so far and its toasting as "SMS sent".
  Please find my source below</p>
  
  <pre><code>public class Send_sms extends Activity {
  
  private static final String TAG = "Send_sms";
  @Override
  protected void onCreate(Bundle savedInstanceState) {
  
      super.onCreate(savedInstanceState);
      setContentView(R.layout.main12);
  
      Button sndbtn =(Button)findViewById(R.id.but_send_ok);
      sndbtn.setOnClickListener(new View.OnClickListener() {
  
      public void onClick(View v) 
      {
          EditText addrTxt = (EditText)Send_sms.this.findViewById(R.id.editText_number);
          EditText msgTxt = (EditText)Send_sms.this.findViewById(R.id.editText_write_msg);
          try
          {
              sendSmsMessage(addrTxt.getText().toString(),msgTxt.getText().toString());
              Toast.makeText(Send_sms.this,"Sms sent",Toast.LENGTH_LONG).show();
          }
          catch(Exception e)
          {
              Toast.makeText(Send_sms.this,"Failed to send sms",Toast.LENGTH_LONG).show();
          }
      }});
  }
  
  @Override
  protected void onDestroy() {
  
      super.onDestroy();
  }
  private void sendSmsMessage(String address,String message)throws Exception
  {
      SmsManager smsMgr = SmsManager.getDefault();
      smsMgr.sendTextMessage(address,null,message,null,null);
  }
  }
  </code></pre>