Is there any way to delete a sms and/or mms in android 10 that does not require app to be marked as default?

  android, android-10.0, kotlin

Is there any way to delete a sms and/or mms in android 10 that does not require app to be marked as default?

If there is not, is there a way to programmatically set an app temporarily to be default as I modify the telephony.mms.inbox content then switch it back once mods are completed.

I have a broadcast receiver set up to monitor incoming mms messages and if the address in not contained in the phone contact list, I will either delete the message altogether, or possibly overwrite it with a generic image. I can not do this however because I don’t have write access to the inbox table.

any help or workaround would be greatly appreciated.

Source: Android Questions

LEAVE A COMMENT