Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,770,713 Members 39,291 Now Online
XDA Developers Android and Mobile Development Forum

open front camera using camera API

Tip us?
 
shweta123
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 5
Join Date: Jan 2014
Default open front camera using camera API

how to open front, camera using camera API in android.
 
EatHeat
Old
#2  
EatHeat's Avatar
Recognized Developer
Thanks Meter 1401
Posts: 913
Join Date: Jan 2013
Location: Calcutta
Code:
private Camera trythis ;
trythis = Camera.open (CameraInfo.CAMERA_FACING_FRONT);
[3.0+]Crius.
Customize your clock.


[2.2+]SnowBowl HD.
Enjoy the vacations!


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes