Category Archive: problem

Mar 15

error com.android.email.permission.ACCESS_PROVIDER

I tried to read email from the emailprovider, but from StackOverflow I read that it’s impossible. The error also couldn’t be fix. java.lang.SecurityException: Permission Denial: reading com.android.email.provider.EmailProvider uri content://com.android.email.provider/account from pid=278, uid=10003 requires com.android.email.permission.ACCESS_PROVIDER here is the code Cursor c = null; Uri CONTENT_URI = Uri.parse(“content://com.android.email.provider/account”); String RECORD_ID = “_id”; String[] ID_PROJECTION = new String[] …

Continue reading »