Android save or insert MMS in content provider programmatically
问题 I am trying code described below, I got it from internet. It inserts rows in content provider(mmssms.db) properly but MMS is not shown Native Messaging App. thread_id 11 is already present in my content provider so I am using thread_id 11. public static Uri insert(Context context, String to, String subject, byte[] imageBytes) { try { Uri destUri = Uri.parse("content://mms"); // Get thread id //Set<String> recipients = new HashSet<String>(); //recipients.addAll(Arrays.asList(to)); long thread