• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

AIR 16 Camera breaks app ( Works fine in AIR 15 ) - [HELP]

Engaged ,
Jan 13, 2015 Jan 13, 2015

Copy link to clipboard

Copied

Everything worked fine in AIR 15 .. As soon as I switch to 16 .. If I open the camera image picker for iOS .. even if I just choose "Cancel". The app freezes and is not responding anymore.

Has anyone seen this or know of a fix ?

Here is what I am doing

// =================================================================================

// initCamera

// =================================================================================

  function initCamera(evt:Event):void{

                      

  endTouchX = mouseX;

  endTouchY = mouseY;

  if (startTouchX - endTouchX < 25 && startTouchX - endTouchX >-25 && startTouchY - endTouchY < 25 && startTouchY - endTouchY >-25) {

  takePhotoBTN.alpha = 1;

  trace("Starting Camera");

                      

     if( CameraUI.isSupported )

                        {

  showTransitionPanel();

                                cameraUI.addEventListener(MediaEvent.COMPLETE, imageSelected);

                                cameraUI.addEventListener(Event.CANCEL, browseCancelled);

                                cameraUI.addEventListener(ErrorEvent.ERROR, mediaError);

                              

                                cameraUI.launch(MediaType.IMAGE);

   

     clearGrid();

                        }

                        else

                        {

                                mainScreen.feedbackText.text = "Camera not supported.";

                        }

               

  }

  }     

              

              

              

                // =================================================================================

                // initCameraRoll

                // =================================================================================

                function initCameraRoll(evt:Event):void

                {

                       

  endTouchX = mouseX;

  endTouchY = mouseY;

  if (startTouchX - endTouchX < 25 && startTouchX - endTouchX >-25 && startTouchY - endTouchY < 25 && startTouchY - endTouchY >-25) {

  importPhotoBTN.alpha = 1;

  trace("Opening Camera Roll");

                      

                        if(CameraRoll.supportsBrowseForImage)

                        {

                               

  showTransitionPanel();

 

                              

                                // Add event listeners for camera roll events

                                cameraRoll.addEventListener(MediaEvent.SELECT, imageSelected);

                                cameraRoll.addEventListener(Event.CANCEL, browseCancelled);

                                cameraRoll.addEventListener(ErrorEvent.ERROR, mediaError);

                              

     // Open up the camera roll

                                cameraRoll.browseForImage();

   

  clearGrid();

                               

                        }

                        else

                        {

                                mainScreen.feedbackText.text = "Camera not supported.";

                        }

  }

                }

TOPICS
Development

Views

640

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jan 13, 2015 Jan 13, 2015

Copy link to clipboard

Copied

I can confirm that is is   cameraRoll.browseForImage();  that breaks the app.  As soon as this is called... it looks like it suspends everything in the app .. and doesnt resume when its cancelled or an image is selected.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jan 13, 2015 Jan 13, 2015

Copy link to clipboard

Copied

Hi,

Thanks for reporting the issue. The issue is known to us for iPad and we're investigating it. For iPhone, the issue existed in beta builds for AIR 16, but it should get fixed when AIR 16 gets released.

Thanks

-Pahup

Adobe AIR

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jan 13, 2015 Jan 13, 2015

Copy link to clipboard

Copied

Any timeline on AIR 16 release date ?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jan 13, 2015 Jan 13, 2015

Copy link to clipboard

Copied

we're almost there for AIR 16

-Pahup

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jan 13, 2015 Jan 13, 2015

Copy link to clipboard

Copied

hmm..  will you be there for Apple's cut off for new app submissions requiring 64 bit support ?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jan 13, 2015 Jan 13, 2015

Copy link to clipboard

Copied

AIR 16 got released today, please try this out - http://www.adobe.com/devnet/air/air-sdk-download.html

-Pahup

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jan 14, 2015 Jan 14, 2015

Copy link to clipboard

Copied

So it fixed the camera problem ... but the app wont submit to the app store.

Invalid Binary Error

Minimum OS Version Mismatch - The minimum OS version (LC_VERSION_MIN_IPHONEOS) in the binary ('6.0') for architecture ('armv7') differs from the MinimumOSVersion ('7.0') in the Info.plist.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jan 15, 2015 Jan 15, 2015

Copy link to clipboard

Copied

Hi

We tried to reproduce the issue at our by uploading an application to the Apple App Store for review using the latest AIR SDK but didn't face any issue. However, this issue is possible due to minimum iOS version mismatch between application & ANEs(if used).

Could you please confirm whether you are using any ANE in your application? If yes, what is the minimum iOS version specified for that ANE?

Also could you please confirm whether you have also set the minimum iOS version for the application in the application xml?

Regards

Abhinav

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jan 15, 2015 Jan 15, 2015

Copy link to clipboard

Copied

No ANE in this application. 

I tried putting min os version in the XML and it failed ..   after 3 tries submitting .. it seems to have finally went through. However .. that same file I rejected the binary and submitted again and it failed again. So .. I'm not sure what the issue is.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jan 16, 2015 Jan 16, 2015

Copy link to clipboard

Copied

LATEST

Hi

Thanks for reporting this issue. It has been reproduced at our end & our team is looking into it.

Regards

Abhinav

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines