I want to get the message in to a string and split the message. But I cannot get the message represent by "body", in to a string. Please tell me if you know how to put message body in to a string. This is my sample code,
protected void onCreate(Bundle savedInstanceState){
super.onCreate(savedInstanceState);
setContentView(R.layout.fulldetail);
lst=(ListView)findViewById(R.id.rldlist1);
Uri in = Uri.parse("content://sms/inbox");
ContentResolver cr = getContentResolver();
Cursor c = cr.query(in, new String[]{"_id", "address", "body"}, "address = 'eZ Reload'", null, null);
adapter = new SimpleCursorAdapter(this, R.layout.rowsms, c, new String[]
{"address", "body"}, new int[]{R.id.lblreloadbody, R.id.lblreloadno});
lst.setAdapter(adapter)