I am following the tutorial for building a camera app http://developer.android.com/tools/device.html and I am my call to Camera.open() returns null. I've declared the permission in the manifest and I tried both on the emulator and a xyboard and I am still getting null. Does anyone know any quick hints?
Camera c = null;
try
{
c = Camera.open()
}
catch(Exeption e)
{
}
return c;
Keep in mind, I am not throwing an exception, I am simply getting NULL back.