[Android-development] Requesting android.permission.READ_PHONE_STATE

Jason H jhihn at gmx.com
Wed Jan 30 21:59:54 CET 2019


So I'm trying to request android.permission.READ_PHONE_STATE, but I keep getting PERMISSION_DENIED. I know this is one of the more special ones, it's in my manifest and I'm trying to request it at runtime. 

I wrote my own mechanism in my subclassed activity, before I found http://doc.qt.io/qt-5/qtandroid.html#requestPermissionsSync
but that one doesn't work either.

Help?



More information about the Android-development mailing list