0

I've been trying to manually store an SMS but for some unknown reason. It doesn't show. I've tried many example codes and edited the manifest file as told. Not even this, (which is the most popular answer I found)

Uri uri = Uri.parse("content://sms/sent");
    ContentValues values = new ContentValues();
    values.put("address", "123456789");
    values.put("body", "foo bar");
    getContentResolver().insert(uri, values);
TLJ
  • 4,525
  • 2
  • 31
  • 46

0 Answers0