title: How to detect where front-facing camera placed on device?
body: <p>Is there any ways to detect where front-facing camera placed on Android device? </p>
  
  <p>I think on cell phones it's always on top of it, near the headphone. But all tablets are different. I checked Asus Transformer, and front camera is on the side (on top if I hold it in landscape mode), but Samsung Galaxy Tab (first gen, Android 2.2) has camera on top of it, like all cell phones.</p>
  
  <p>So is there way to check where front camera placed? Maybe I can do it with code, maybe there is a rule for devices? Like Android 2.x devices has it on top, and Android 3.x devices has on the side? Then what about Adnroid 4.x devices? </p>