When I call mCamera = Camera.open()
it returns null, what could be causing this? My device is the Nexus 7.
I already have the permissions set in my AndroidManifest.xml
:
<uses-permission android:name="android.permission.CAMERA" />
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…