public static Uri addMessage(ContentResolver resolver,String address,String body,String subject,Long date,boolean deliveryReport,long threadId){
  final Uri CONTENT_URI=Uri.parse("content://sms/outbox");
  return addMessageToUri(resolver,CONTENT_URI,address,body,subject,date,true,deliveryReport,threadId);
}

public static Uri addMessage ( ContentResolver resolver , String address , String body , String subject , Long date , boolean deliveryReport , long threadId ) { final Uri CONTENT_URI = Uri . parse ( "content://sms/outbox" ) ; return addMessageToUri ( resolver , CONTENT_URI , address , body , subject , date , true , deliveryReport , threadId ) ; }
add an sms to the out box .
