- Home /
Android camera permission?
For some reason my game has a camera permission requirement even though I don't use hte camera at all in the game.
Is there a way to remove this persmission?
Do you use WebCamTexture somewhere in your code or in your imported assets ?
Answer by Sanky · May 12, 2013 at 11:45 AM
Qualcomm AR add-ons will help you and try below code which is written in unity documentation
// Starts the default camera and assigns the texture to the current renderer function Start () { var webcamTexture : WebCamTexture = WebCamTexture(); renderer.material.mainTexture = webcamTexture; webcamTexture.Play();
}
http://docs.unity3d.com/Documentation/ScriptReference/WebCamTexture.html
http://answers.unity3d.com/questions/232547/how-to-access-camera-feed-ios-and-android.html
http://answers.unity3d.com/questions/59944/accessing-the-iphone-or-android-camera-for-screens.html
I'm actually asking for how to remove the camera permission, I'm not sure how your answer can help me?