How to save SMS to inbox in android programmatically and how to reqeust the correct permissions?

Posted by Verena on Stack Overflow See other posts from Stack Overflow or by Verena
Published on 2010-05-29T16:28:19Z Indexed on 2010/05/29 16:32 UTC
Read the original article Hit count: 165

Filed under:
|

Found this question while trying to do the same: http://stackoverflow.com/questions/642076/how-to-save-sms-to-inbox-in-android-programmatically.

But this part:

getContentResolver().insert(Uri.parse("content://sms/sent"), values);

throws an SecurityException.

I requestet SMS_WRITE permission in the manifest file.

Thanks in advance!

© Stack Overflow or respective owner

Related posts about android

Related posts about sms