How to detect android front camera programmatically
<p>Can anyone tell me how to check if the android phone has a front camera too? I'd tried to use some help form <a href="https://docs.google.com/View?id=dhtsnvs6_57d2hpqtgr" rel="nofollow">https://docs.google.com/View?id=dhtsnvs6_57d2hpqtgr</a> but Camera camera = FrontFacingCamera.getFrontFacingCamera(); sometimes works sometimes not.
Any help please?</p>
