I would create an sms and save it into sms inbox.
I've tried using this:
ContentValues values = new ContentValues();
values.put("address", phoneNumber);
values.put("date", time);
values.put("body", message);
values.put("type", 1);
values.put("read", 1);
context.getContentResolver().insert(Uri.parse("content://sms"), values);
This work on android 4.0.x, 4.1.x and 4.2.x, but don't work on android 4.4.
How can i set my message into the default message application?
Thank you to all.
How can i set my message into the default message application?
You cannot modify the SMS inbox unless your app is the user's chosen SMS client on Android 4.4+.