android - I'm writing a SL4A script in QPython to mark unread SMS of inbox as read. and this is not working in Marshmallow -


i want write sl4a script mark unread sms of inbox read. want run script in qpython android application.

​import androidhelper android droid = android.android() ids = droid.smsgetmessageids(true).result print type(ids) print ids number = droid.smsmarkmessageread(ids, true).result print number 

code same above.

output

google maybe has disabled general application being granted write_sms permission in newer android system (maybe >= m) , smsmarkmessageread may not work.

i answered on https://www.facebook.com/groups/qpython/permalink/1410128472397009/

just read post's comments.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

.htaccess - ERR_TOO_MANY_REDIRECTS htaccess -