Skip to main content
ciaoamigos1973
Inspiring
February 6, 2015
Question

Still big problem with "Adobe AIR 16" and "Adobe AIR 17"

  • February 6, 2015
  • 6 replies
  • 5458 views

Device:Iphone 6 e Iphone 6 plus

My application xml:

    <fullScreen>true</fullScreen>

    <aspectRatio>landscape</aspectRatio>

    <renderMode>cpu</renderMode>

    <autoOrients>false</autoOrients></initialWindow

When I use "cameraRoll.browseForImage ();" and the user clicks on the "Cancel" the keyboard becomes vertical and status bar trasparent. Unable to use the app.


Adobe is not the same as a few years ago, instead of solving the problems they create.

With "Adobe AIR 15" works but I can not publish the app on Apple Store (OS64 bit).

HelpMeeeeeeeee

This topic has been closed for replies.

6 replies

Participant
February 27, 2015

Honestly, guys. Phonegap Build is moving faster than AIR. That space is making Adobe feel very relevant again.

Known Participant
February 27, 2015

Phonegap Build is nice but performances can in no shape or form be compared to Air. I wouldn't use AIR for 'forms' applications. I wouldn't use Phonegap to make games.

Inspiring
February 27, 2015

In the latest version published Feb 25th, there is a fixed issue "Cameraroll API doesn't work with Android Photos applications".  Which bug is this? 

Known Participant
February 12, 2015

Yes this is very sad indeed. After years of working with flash, I am one of the lasts to still stick to it and had very big hopes for AIR. I was even "you're all wrong, you'll see" type of guy.. But after so many bugs, Flash Builder not being updated with literally no answer, performance issues, roadmaps not updated, ANE nightmare (come on guys - stop relaying on the community to deliver ANE's, take a stand for the sake of your own platform), I'm thinking about leaving the boat too.

Inspiring
February 12, 2015

Yeah, I find it crazy with over a billion installs of Flash player and the billions of mobile devices that could have flash developed content that the pace is so slow.  There is (still) a real opportunity here, why would you not invest in it?  That is reach that many companies would drool over.

Participant
February 16, 2015

I already jumped ship 2 years ago! I did this without looking back and trying to cut my loses early.

But now, powerful and very capable phones are everywhere! Animation is big in apps now. Flash was lightyears ahead, and Adobe killed the technology. The should open source this thing so we can move forward!!!

billy225
Participating Frequently
February 11, 2015

Its not only the Camara roll but the Camara as well!

this is after taking a picture ( the app is landscape)

Inspiring
February 12, 2015

The only thing that ever gets fixed is "security and stability issues".  Bugs on cameraroll are YEARS old and getting worse.  Not having access to camera features on mobile platforms is ridiculous.  I am getting a bit jaded on this topic, I feel like my creative cloud account is just being milked. 

Colin Holgate
Inspiring
February 12, 2015

Did the "On Changing the profile Camera Frame is not rendering. (Bug 3932196)" fix in yesterday's build help at all?

billy225
Participating Frequently
February 7, 2015

Same Problems for me and more!

Inspiring
February 8, 2015

Camera roll api is a mess.  I had some moderately successful apps on android that used it but now because of all the issues, they are dead.  Bugs in there over a year with a ton of votes.  This is a core api for a mobile device.  Not sure who is driving the roadmap but all bugs I vote on are 'totrack' or 'unverified'. 

abmishra
Adobe Employee
Adobe Employee
February 6, 2015

Can you share a sample app , so that we can have a look at our end.

ciaoamigos1973
Inspiring
February 6, 2015

import flash.media.MediaPromise;

import flash.utils.ByteArray;

import flash.errors.EOFError;

import flash.net.URLRequest;

import flash.net.URLVariables;

import flash.net.URLRequestMethod;

import fl.controls.Button;

var btn_add_upload:Button= new Button()

btn_add_upload.label = "Load picture";

addChild(btn_add_upload)

btn_add_upload.x=20

btn_add_upload.y=100

btn_add_upload.width=90

var myText:TextField = new TextField()

myText.text = "Click after press Button 'cancels' in camera roll";

myText.type = TextFieldType.INPUT ;

myText.border=true

addChild(myText)

myText.x=20

myText.y=150

myText.width=500

btn_add_upload.addEventListener(MouseEvent.CLICK, attaupload)

var cameraRoll:CameraRoll;

function attaupload(evt:MouseEvent=null):void

  {

  trace ("avvio caeemra roll")

  cameraRoll = new CameraRoll();

  if( CameraRoll.supportsBrowseForImage )

  {

    // if (NativeApplication.nativeApplication.hasEventListener(Event.DEACTIVATE)) NativeApplication.nativeApplication.removeEventListener(Event.DEACTIVATE, MovieClip(root).onDeactivateApp);

  cameraRoll.addEventListener( Event.CANCEL, browseCanceled );

       

  cameraRoll.addEventListener( MediaEvent.SELECT, imageSelected );

    cameraRoll.browseForImage();

  }else{

    trace( "Image browsing is not supported on this device.");

  } 

}

var filename:String;

var nome:String;

var immagine:Loader;

var loader:URLLoader;

function imageSelected( event:MediaEvent ):void

{

    trace( "Media selected..." );

  cameraRoll.removeEventListener( Event.CANCEL, browseCanceled ); 

  cameraRoll.removeEventListener( MediaEvent.SELECT, imageSelected );

    var imagePromise:MediaPromise = event.data;

    immagine = new Loader();

        

    if( imagePromise.isAsync )

    {

        trace( "Asynchronous media promise." );

        immagine.contentLoaderInfo.addEventListener( Event.COMPLETE, imageLoaded );

       

  immagine.loadFilePromise( imagePromise );

    }

    else

    {

       immagine.loadFilePromise( imagePromise );

  

    }

}

function browseCanceled( event:Event ):void

  {

    //if (!NativeApplication.nativeApplication.hasEventListener(Event.DEACTIVATE)) NativeApplication.nativeApplication.addEventListener(Event.DEACTIVATE, MovieClip(root).onDeactivateApp);

  cameraRoll.removeEventListener( Event.CANCEL, browseCanceled ); 

  cameraRoll.removeEventListener( MediaEvent.SELECT, imageSelected );

  

  }

function imageLoaded( evt:Event ):void

{

  immagine.contentLoaderInfo.removeEventListener( Event.COMPLETE, imageLoaded );

  

}

    My code demonstration. Done with "Flash cc" and "Adobe Air 16".

    Stage size: 880X480

    My application xml:

    <systemChrome>standard</systemChrome>

        <transparent>false</transparent>

        <visible>true</visible>

        <fullScreen>true</fullScreen>

        <aspectRatio>landscape</aspectRatio>

        <renderMode>cpu</renderMode>

    <autoOrients>false</autoOrients></initialWindow>

   

    How to simulate:

    1) click on button "Load picture"

    2) click on button "Cancel" in CameraRoll

   

    Result::

    1) If you click in the text field, the keyboard is vertical.

    2) It shows the status bar.

Inspiring
February 6, 2015

Use ANE-Image Picker: jsaade/ANE-ImagePicker · GitHub

I had a rough time with CameraUI and CameraRoll. The app crashed a lot and while using starling the device lost context a lot of times.

I used a modified version of the amazing ImagePicker by freshplanet and forked it also ANE compiled to support 64bit architectutre on iOS

Participant
February 6, 2015

I'm in the same situation as you,

i'm fighting everyday to solve all problem facing when working with AIR & Flash. But after 14 years of flash .. i'm leaving..

Better pass time in another platform than passing time trying to solve AIR platform.

ciaoamigos1973
Inspiring
February 6, 2015

I do not understand. Out of all logic.

It makes no sense to continue to develop new features when there are unresolved bug from Adobe air 3.

We put bugs on bugs .......

!It was better macromediaaaaaa