4 Replies Latest reply on Mar 13, 2012 4:12 PM by aadi84

    Program is crashing with out any message when i am using getCamera() method of Camera Class




      I am trying to get the list of cameras available in the system for an air application using Camera.names . When ever I try to access this method of the Camera class the program is crashing, but when I try to get a specific instance of Camera by giving a parameter like Camera.getCamera("0") I am able to get the instance of camera and everything is working fine. On debugging I found out Camera.isSupported is showing "true" for both the cases. How can I get the list of cameras installed with out hardcoding their indeces.


      Thanks in advance