Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
341 views
in Technique[技术] by (71.8m points)

Is there a way to bypass the android runtime request permissions with NDK?

I just would like to know if there is a way to use the camera and storage without request it in runtime and without to set targetSdkVersion to 21, thanks in advance and sorry if this question sounds dumb in some manner.

Edit 1: I don't necessarily mean to bypass, I would like to know if the android permissions are needed in runtime if I use the NDK.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

All of the same restrictions apply. You need to make the permission request in Java or over JNI.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...