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.
This solution will not work with Android 14+. Please use the more powerful MediaChooser instead: [B4X] MediaChooser - cross platform videos and images chooser 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...