android - Request correct permissions to save an SMS on Inbox
问题 I want my Android program to be able to save an SMS on the user's inbox. I already found this question which does exactly that, but this statement: getContentResolver().insert(Uri.parse("content://sms/sent"), values); throws a SecurityException . I already requested the SMS_WRITE permission in the manifest file. Any ideas? 回答1: Took me some time too, seems like you also need the READ_SMS permission (found it there: http://www.andreabaccega.com/blog/2010/08/12/write-an-sms-without-sending-it