I am developing a simple app to automatically capture image using front camera and self timer in a button click. I tried some of the sample but didn't work. Only for rear camera only. Your response is much appreciated. :-)
            Asked
            
        
        
            Active
            
        
            Viewed 715 times
        
    0
            
            
        - 
                    Please edit your question and post the code that you tried, then explain what specific problems that you encountered when modifying that code to use a front-facing camera. – CommonsWare Mar 19 '15 at 15:06
- 
                    This can help you : http://stackoverflow.com/questions/2779002/how-to-open-front-camera-on-android-platform – Satty Mar 19 '15 at 15:07
- 
                    Thanks @Satty ...much appreciated. how about with automatic self timer for 5 seconds? :-) thanks – Dante Mar 19 '15 at 16:39
- 
                    @DanteArimbuyutan You need to read CommonsWare's suggestion. Also, you need to research things and not beg for code. – Jared Burrows Mar 19 '15 at 21:06
1 Answers
0
            
            
            mCameraId = CameraInfo.CAMERA_FACING_FRONT) 
    setRecordingCamera(mCameraId);
 
    
    
        andreasperelli
        
- 1,034
- 2
- 11
- 40
