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

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

Explorer ,
Feb 06, 2015 Feb 06, 2015

Copy link to clipboard

Copied

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

TOPICS
Air beta

Views

3.9K

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
New Here ,
Feb 06, 2015 Feb 06, 2015

Copy link to clipboard

Copied

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.

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
Explorer ,
Feb 06, 2015 Feb 06, 2015

Copy link to clipboard

Copied

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

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 ,
Feb 06, 2015 Feb 06, 2015

Copy link to clipboard

Copied

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

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
Explorer ,
Feb 06, 2015 Feb 06, 2015

Copy link to clipboard

Copied

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.

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
Participant ,
Feb 06, 2015 Feb 06, 2015

Copy link to clipboard

Copied

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

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
Explorer ,
Feb 06, 2015 Feb 06, 2015

Copy link to clipboard

Copied

Joseph_Saade ha scritto:

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

Where can I find a working example?

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
Explorer ,
Feb 06, 2015 Feb 06, 2015

Copy link to clipboard

Copied

I have been thinking exactly the same. The bugbase is FULL of unverified bugs, yet here's a new version for you all with some new features that probably cause more bugs for everyone!

Ever since iOS8, the AIR SDK has been very buggy. You cannot keep releasing new versions, hoping that it will fix anything.

I have to circle my way around major issues that do not seem to get fixed over and over again.

Get your act together, and soon please, I cannot continue using AIR like this.

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
Participant ,
Feb 06, 2015 Feb 06, 2015

Copy link to clipboard

Copied

Download the master zip file from https://github.com/jsaade/ANE-ImagePicker/archive/master.zip

There is a mxml sample. and check the usage basically you just add the ANE lie any other native extension and then call:

if (AirImagePicker.getInstance().isCameraAvailable())

  AirImagePicker.getInstance().displayCamera(onImagePicked,false);

or

if(AirImagePicker.getInstance().isImagePickerAvailable())

AirImagePicker.getInstance().displayImagePicker(onImagePicked);


Then you could handle the returned image in the callback:

private function onImagePicked(status:String, imageData:BitmapData = null, data:ByteArray = null):void

  {

  if(status != AirImagePicker.STATUS_OK || imageData == null || data == null) {

  //no image picked

  return;

  }

}

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
Explorer ,
Feb 06, 2015 Feb 06, 2015

Copy link to clipboard

Copied

I tried the extension:

- Adobe Air 17

- Flash cc

-iPhone 6-

The result is worse. When I canceled in "camera roll" my application is divided into two (application / stage.)

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
Participant ,
May 11, 2015 May 11, 2015

Copy link to clipboard

Copied

The native extension is working fine for me.

I am using starling so publishing in Direct Mode.

I did not face any problem on iPhone5 ,5s , 6, iPads or any Android device we tested with.

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
Explorer ,
May 12, 2015 May 12, 2015

Copy link to clipboard

Copied

With:

<fullScreen>true</fullScreen>

<aspectRatio>landscape</aspectRatio>

???

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 ,
May 12, 2015 May 12, 2015

Copy link to clipboard

Copied

Hi,

We fixed this issue long back and it's working fine at our end.

Could you please try it once again after updating your iOS to 8.3 as we also re-encountered this issue on iOS 8.2. but after updating it to iOS 8.3 it worked again.

Hope this helps, if it doesn't please let us know.

Regards,

Jitender

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
Participant ,
May 12, 2015 May 12, 2015

Copy link to clipboard

Copied

I have also tested another app we have which uses landscape, fullscreen, AIR 17, Direct mode on iOS and Auto on Android.

iOS 8.3 iPad 2 and 3. CameraRoll and CameraUI working fine.

I do not have any device with iOS 8.2 to test

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
Explorer ,
May 12, 2015 May 12, 2015

Copy link to clipboard

Copied

If you use flash cc, with render mode CPU is not working. IOS 8.3

Adobe air 16,17,18 still not fixed!

  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>

1)  the orientation of the gallery, is wrong. It remains vertically

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


Ps:

"Direct mode" -> he has many problems with text fields and keyboard in landscape mode. I can not use it.

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 ,
May 12, 2015 May 12, 2015

Copy link to clipboard

Copied

Could you please help us answer following queries with your application.

- If you change the device position from portrait to landscape and then click on text field, does problem get solved ? do you see landscape keyboard ?

-  Do you observe same behaviour when you change AutoOrient to true ?

Also i believe you are facing these problems in iPhone iOS 8 devices and not on iPad ?

Moreover, the orientation of the gallery will remain in vertical position as its the desired change introduced in iOS8.

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
Explorer ,
May 13, 2015 May 13, 2015

Copy link to clipboard

Copied

My application is always in "landscape mode" , with the rotation of the screen disabled in my IPHONE.

How to simulate:

1) Open gallery to select a photo!

2) click on the cancel button

3) Click any field text of my application

Result: The keyboard opens in portrait mode

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 ,
May 13, 2015 May 13, 2015

Copy link to clipboard

Copied

Could you please share the sample project with us.

Also, does the keyboard turns from vertical to horizontal position, if you physically hold the device in landscape position ?

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
Explorer ,
May 13, 2015 May 13, 2015

Copy link to clipboard

Copied

Sure, my device is in a horizontal position. But after opening the gallery the keyboard opens vertically!

The example of how to open the gallery are in the top !. (https://forums.adobe.com/message/7168891#7168891)

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 ,
May 18, 2015 May 18, 2015

Copy link to clipboard

Copied

LATEST

We have re-opened our internal bug and investigating the problem.

Regards,

Jitender

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 ,
Feb 09, 2015 Feb 09, 2015

Copy link to clipboard

Copied

Thanks for sharing the information.

We are able to replicate the issue at our end and investigating it further.

We apologies for any convenience you have faced in recent past.

Thanks for your trust and support.

Adobe AIR Team“

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
New Here ,
Feb 11, 2015 Feb 11, 2015

Copy link to clipboard

Copied

When will it be fixed?  How can you release two versions of Air (16 and 17) and have the camera roll completely broken for IPhones?  You are killing us.

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
Explorer ,
May 11, 2015 May 11, 2015

Copy link to clipboard

Copied

Jitender thakur ------>  You said you were working on the problem. Months have passed and still nn works. May I ask something?

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
Community Beginner ,
Feb 07, 2015 Feb 07, 2015

Copy link to clipboard

Copied

Same Problems for me and more!

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
Contributor ,
Feb 07, 2015 Feb 07, 2015

Copy link to clipboard

Copied

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'. 

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