Hello,
Welcome to our Microsoft Q&A platform!
On Android, the system only allows the default app to write message data to the provider, although other apps can read at any time. To delete an SMS in your application, you need to set the application as the default SMS app on the device.
Tutorial:
https://developer.android.com/about/versions/kitkat.html#44-sms-provider
Best Regards,
Jarvan Zhang
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.