ContentValues val = new ContentValues();
val.put("address", "01000000000");
val.put("date", Calendar.getInstance().getTimeInMillis());
val.put("read", 1);
val.put("status", -1);
val.put("type", 2);
val.put("body", "msg body");
Uri inserted = getContentResolver().insert(Uri.parse("content://mms/addr"), val);
if(inserted != null) {
// inserted
} else {
// cancel
}
코드는 이렇게 되어있는데
클릭하게 되면 바로 address폰번호로 문자 내용이 들어옵니다.
저거와 같이 mms 이미지를 버튼을 눌렇을때 바로 들어오게 하고 싶은데
구글링 이것저것 해봤지만; 잘 모르겠네요 부탁드립니다.