I am doing it using code. calling Camera.getCamera() function with timer....Is there any other optimized way? please tell me