My app needs to run on Android 2.2 and above. I need a way to determine the number of cameras available. There are a number of posts addressing this but I couldn't find one that works.
One solution is simply to detect the OS version and anything with 2.2 would only be limited to 1 camera (even if the device really did have 2) but I still have no way of figuring out the number of cameras for any versions greater than 2.2.