I'm trying to add a new SMS programatically without using the internal SMS system. I used the following code:
whereby values is an instance of ContentValues.
This results in a SecurityException. In the manifest, I requested the permission WRITE_SMS. I read something about special rights management for ContentProviders, but I could not find anything which helped me here, neither a general description what is possible with the SMS content provider and what not.
I found some info about deleting SMS, so the content provider seems not to be a read only ressource.
How do I request to correct rights to add an entry to content://sms/sent?
Thanks in advance!