Camera - Displays the camera to take photos and record videos in an Arrangement.

Well done

Images from pictures taken now have the correct aspect ratio in relation to the VA containing the camera.

Unfortunately, and this is probably device specific, with nothing much that can be done, the images are displayed rotated 90 degrees anti clockwise.

I did offer up a workaround for this some time ago, where you use the activity starter to go out to the device camera component, instead of using the AI2 camera component.

1 Like

Is there a new .aix file? @Joejsanz

v1.1 March 07, 2026.

Extension is not taking a picture of the "viewer".

Means?

See how @Kumaraswamy does it with Pro Camera

(In camerax java: Simple Function -> TakePreviewPicture -> AutoFitTextureView.java)

I'd just like to know what you're trying to say with...

If one sets the containing arrangement to say 300h x 200w (ones "viewer" when camera turned on), one might expect to get an image back with that aspect ratio.

Okay, but that wasn't the purpose of my blocks. I simply wanted to display and save the image in portrait mode, as requested by the user.

Sorry, I meant the JoeDevCamera extension :upside_down_face:

@Joejsanz

Hi again, is there anyway to get the image from imagePath or imageUri to get in full size, when i use it in imgPreview.Picture. Its only the half size of screen. And the imgPreview is set to 100% both ways in size., And the same with the arrangement the pic is in.

How are your blocks set up and what's your camera view?

  • To get the image in full screen, you must set the camera view to full screen aspect ratio.

Try the aia file with that example:
CameraFullScreenPic.aia (36.6 KB)

Here is my blocks, and the .aia. Hope you can help me where i should put the new blocks.

Wedding(1).aia (71.4 KB)