Cheetah Cheetah - 1 year ago 220
Android Question returns null

When I call

mCamera =
it returns null, what could be causing this? My device is the Nexus 7.

I already have the permissions set in my

<uses-permission android:name="android.permission.CAMERA" />

Answer Source

Figured it out,

You need to call

THIS IS ONLY VALID AND WORKING ON THE NEXUS 7 device, as it only has one camera, so is only useful if targeting that device only.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download