Skip to main content
interactivemartin
Participant
Aug 28, 2015 6:18 PM UTC
Question

CameraUi not working on iOS with AIR 18 or AIR 19. Crashes.

It simply crashes, when doing this:

if( CameraUI.isSupported )

               {

               var deviceCameraApp:CameraUI = new CameraUI();

                deviceCameraApp.addEventListener( MediaEvent.COMPLETE, imageCaptured );

                deviceCameraApp.addEventListener( Event.CANCEL, captureCanceled );

                deviceCameraApp.addEventListener( ErrorEvent.ERROR, cameraError );

                deviceCameraApp.launch( MediaType.IMAGE );

}

It shows the CameraUI, but it's black. And then it launches this error: [Fault] exception, information=ArgumentError: Error #3683: Texture too big (max is 2048x2048).

Any ideas?

This topic is closed to new replies. Start a new post to keep the conversation going.

5 replies

Adobe Employee
Aug 31, 2015 10:17 AM UTC

Hi,

Thanks for reporting the issue.

We tried reproducing the problem at our end with the given code snippet but couldn't reproduce it, CameraUI is launched successfully and application behave fine.

We verified it on iPhone 6 (8.0) and iPhone 5s(8.4.1) both. so could you please share us the sample application that can reproduce the problem.

Regards,

Adobe AIR Team

Translate
interactivemartin
Participant
Aug 31, 2015 10:37 AM UTC

I added more info in the bug database.

If you use JRE 8.0 to copile and JDK 8.0, it happens. I had to revert to 6.0, for another reason, and now it is working. What version of JAVA is the recomended one to compile propertly?

Thanks

Translate
chris.campbell
Legend
Aug 28, 2015 10:03 PM UTC

Hi interactivemartin,

What type of device is this happening with?  Do you also have a https://bugbase.adobe.com bug number that I can reference?

Thanks

Chris

Translate
interactivemartin
Participant
Aug 28, 2015 10:14 PM UTC

IPhone 5s, iOs 8.4.1. No, there is no logged bug apparently. Should I log

one?

On Saturday, August 29, 2015, chris.campbell <forums_noreply@adobe.com>

Translate
chris.campbell
Legend
Aug 28, 2015 10:43 PM UTC

Thank you, and yes, please log a bug.  It's typically a far better way to track issues than the forum alone.

Anyone else running into issues here?

Translate