This is just some simple inline Java code to check if a device has a Back facing camera, a Front facing camera, and a Flash (it requires the JavaObject library to be enabled).
View attachment 43667
#Region Project Attributes
#ApplicationLabel: HasFrontBackCameraAndFlash
#VersionCode: 1
#VersionName:
'SupportedOrientations possible values: unspecified, landscape or portrait.
#SupportedOrientations: portrait
#CanInstallToExternalStorage: False
#End Region...
from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1O5yHes
via IFTTT
So... Lets do it in b4j!!!![[IMG]](proxy.php?image=http%3A%2F%2Fi2.wp.com%2Fmakezine.com%2Fwp-content%2Fuploads%2F2016%2F04%2Farduino-aaduino-in-a-battery-box.jpg%3Fresize%3D743%252C512&hash=ae8f64150fa5a3e1959e20b3f28f1401)
![[IMG]](proxy.php?image=http%3A%2F%2Fwww.basic4ppc.com%2Fbasic4android%2Fimages%2FSS-2014-04-10_15.45.57.png&hash=4c556b56597edaa170794f6ec266bb2f)
![[IMG]](proxy.php?image=http%3A%2F%2Fwww.visualnet.inf.br%2Fimagens%2Fb4a%2FMqttTop.jpg&hash=2d1c8e7efb9a40692713e9647d20254a)
![[IMG]](proxy.php?image=http%3A%2F%2Fwww.visualnet.inf.br%2Fimagens%2Fb4a%2FMqttRef.png&hash=8111a951a57083a9040bbc33b49ad783)
![[IMG]](proxy.php?image=http%3A%2F%2Fgorgeousapps.com%2Fabmaterial-sizes.png&hash=68b2626335e6ee88b514fd07c7d492a1)