Skip to main content
interactivemartin
Participant
August 28, 2015
Question

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

  • August 28, 2015
  • 2 replies
  • 649 views

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 has been closed for replies.

2 replies

Adobe Employee
August 31, 2015

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

interactivemartin
Participant
August 31, 2015

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

chris.campbell
Community Manager
Community Manager
August 28, 2015

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

interactivemartin
Participant
August 28, 2015

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>

chris.campbell
Community Manager
Community Manager
August 28, 2015

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?