Hi... sorry, maybe I haven't explained it well. What I mean is you can use that example on how using a normal activity (what you can rotate) with a B4XPages app.
Now you should add a new activity to your app, the way Erel explains in the example I posted, and add CameraEX to that activity.
You can't rotate the screen in a B4XPages app (at least without some workarounds).
Another option is using the system camera.
B4A + B4i project that uses an intent in B4A and the Camera object in B4i to take a picture using the default camera app. The B4A code depends on JpegUtils: https://www.b4x.com/android/forum/threads/11629/#content It rotates the bitmap based on the EXIF orientation attribute. Don't miss: -...