Adobe AIR SDK 15 Beta (var dataSource:IDataInput = imagePromise.open();) crash on iOS

I have used Adobe AIR SDK15 to build a iOS app, which have a button to browse the Photo in the iPad, but when i run the line of code "var dataSource:IDataInput = imagePromise.open();", the app will be crash, any body experienced?

Hi Alericma,
Thank you for reporting issue, though we are not able to reproduce this issue at our end.
we have tried below code snippet,
protected function buttonclick(event:MouseEvent):void
  var camera:CameraRoll=new CameraRoll();
  if(CameraRoll.supportsBrowseForImage)
  // Add event listeners for camera roll events
  camera.addEventListener(MediaEvent.SELECT, imageSelected);
  camera.addEventListener(Event.CANCEL, browseCancelled);
  camera.addEventListener(ErrorEvent.ERROR, mediaError);
  // Open up the camera roll
  camera.browseForImage();
  protected function imageSelected(evt:MediaEvent):void
       var imagepromise:MediaPromise=evt.data;
       try{
                 var dataSource:IDataInput=imagepromise.open();
       catch(err:Error)
            trace("Error Occured");
Could you please share the sample app, with device information,target and device OS, so that we can reproduce at our end.
Thank You

Similar Messages

  • Any News from Adobe Air SDK, on why we still can't REMOVE "android.permission.INTERNET" from a release compile?

    Is there any new developments on the Adobe Air issue, of being able to COMPLETELY REMOVE the "android.permission.INTERNET" from the manifest file?  As of today, you can still completely remove the "android.permission.INTERNET" from the manifest, bundle your app with Captive Runtime, and Adobe Air SDK will still "tack" the permission onto the end of the manifest block. With users and privacy concerns these days, surely Adobe would recognize that developers building apps that DO NOT REQUIRE Network Access, should be able to remove that permission. Any help on this?

    I see Flash will now be able to export iPhone apps directly.  Although Flash itself will still not run on the iPhone.  It would be great if Director had that functionality a well.  Even better if apps could run on both the iPhone and Blackberry!
    Mike M

  • Overlaying adobe air sdk in flash builder 4.6

    After overlaying adobe air sdk in flash builder 4.6 i am getting this error in my flex mobile project "Could not resolve <s:ViewNavigatorApplication> to a component implementation.". I have followed the steps mentioned on this link "http://rubberduckygames.com/how-to-overlay-abode-air-sdk-over-flex-sdk/". Can anyone please suggest me what i need to do in order to get this work.

    Finally Figure it out..
    geo = new Geolocation();
    geo.addEventListener(GeolocationEvent.UPDATE, onLocationUpdate);
    has to be executed before checking if it is muted.
    geo.addEventListener(GeolocationEvent.UPDATE, onLocationUpdate);
    Is what requests permissions from the phone to use the gps.
    Hope this saves someone alot of time.
    Tested With Flex 4.9.0 Air 3.8 Beta.

  • I0S7 StatusBar Overlays stage, Adobe Air 3.9 Beta Bug? Is there a Workarround

    Hi
    I am using Adobe air 3.9 Beta. It seems that iOS7 give you the the possibility to style the Statusbar. But if you open an adobe air application the statusbar overlays the stage by default. It creates problems with my tabs.
    I tested the app with an iPod and IPhone, both with iOs7 Both have the Issues. If I compile the app with Adobe air 3.8 the Statusbar will be displayed correct.
    But I can't use air 3.8 because I need the new Icons 120x120 76x76 etc.
    Other people have the same issue. See screenshots https://github.com/mutualmobile/MMDrawerController/issues/51
    I think the solution is in the info.plist. There is an option for the info.plist UIViewControllerBasedStatusBarAppearance. We need this paramter to activate or deactivate the Statusbar overlay.
    any Ideas?

    My variation of the problem shows different results in 790 and 1080. Here's what I'm doing, and what's different:
    When I ask the user to pick a photo from their album, the status bar appears (my app is full screen, and no status bar is showing at first).
    With build 790, the status bar is opaque, black background, and it sits on top of the title banner of the picker (the word "PHOTOS" gets obscured). When I return to the app, the status bar remains there, and is sitting on top of my stage content. The picker is iOS 6 styled.
    With build 1080 the behavior is identical to the above, except that the status bar is transparent, and the picker is iOS 7 styled. The status bar does not obscure the "Photos" word, that is further down the screen. On returning to the app I see the black text of the status bar sat transparent on top of the top part of my stage content.
    If I build for 3.8.0.910, the behavior is the same as it is for 3.9.0.790.
    This is with the GM version of iOS 7.
    Overall, I think I'll build for 1080, and hope the client doens't notice the remnants of the status bar. Hopefully you will have added the new icons to the next iOS 7 AIR build, and found a way to hide the status bar after showing the picker.

  • I0S7 StatusBar Overlays stage, Adobe Air 3.9 Beta Bug VOTE this Bug

    Hi
    I am using Adobe air 3.9 Beta. It seems that iOS7 give you the the possibility to style the Statusbar. But if you open an adobe air application the statusbar overlays the stage by default. It creates problems with my tabs.
    I tested the app with an iPod and IPhone, both with iOs7 Both have the Issues. If I compile the app with Adobe air 3.8 the Statusbar will be displayed correct.
    But I can't use air 3.8 because I need the new Icons 120x120 76x76 etc.
    Other people have the same issue. See screenshots https://github.com/mutualmobile/MMDrawerController/issues/51
    I think the solution is in the info.plist. There is an option for the info.plist UIViewControllerBasedStatusBarAppearance. We need this paramter to activate or deactivate the Statusbar overlay.
    Please vote to fix this bug
    https://bugbase.adobe.com/index.cfm?event=bug&id=3633422
    any Ideas for an workarround?
    p.s.
    sorry for double post in Air Development section

    Hi,
    up until now, I think this might be a general issue, even Xcode (5) apps have this.
    However, if you just need the new icons you shouldn't care too much about this, you nearly can't see the differences when you adjust your icons a little bit (no border on the edges etc.), so I would rather use 3.8 (fast, since you might not be able to upload an app without the icons after tomorrow) and update it once those issues have been fixed (I think that this might need a while, since there are some more problems with 3.9).

  • Intellisense not working after update adobe air sdk on Flash CS6

    I updated the Flash Professional CS6 Adobe AIR SDK to 15.0.0.249, but when i start a .FLA file that uses the new SDK, the Intellisense not work! So i need use AIR SDK 3.4 (native) to work with Intellisense... This is a real waste of time! Can i fix it?

    Hello
    > Is there anybody from toshiba following the thread
    I dont think so because it s an user to user forum only and nobody from Toshiba is here.
    Can you post more details? You wrote that you cant watch flash videos but do you get an error message or what happens exactly?
    What browser do you use?
    I would recommend reinstalling Adobe Flash from Android market. This should help.

  • How do I install Adobe Air SDK for CS5.5 Products?

    Hey how would I install Adobe Air SDK 3.7 for Flash Pro CS5.5 and Flash Builder 4.6?

    Okay this is what I got from the .XML file:
    <?xml version ="1.0" encoding="utf-8" ?><application xmlns="Untitled-11.0Untitled-1http://ns.adobe.com/air/application/3.7"><id>Untitled-1</id><versio nNumber>1.0</versionNumber><filename>Untitled-1</filename><description></description><!-- To localize the description, use the following format for the description element.<description><text xml:lang="en">English App description goes here</text><text xml:lang="fr">French App description goes here</text><text xml:lang="ja">Japanese App description goes here</text></description>--><name>Untitled-1</name><!-- To localize the name, use the following format for the name element.<name><text xml:lang="en">English App name goes here</text><text xml:lang="fr">French App name goes here</text><text xml:lang="ja">Japanese App name goes here</text></name>--><copyright></copyright><initialWindow><content>Untitled-1.swf</conte nt><systemChrome>standard</systemChrome><transparent>false</transparent><visible>true</vis ible><fullScreen>false</fullScreen><aspectRatio>portrait</aspectRatio><renderMode>auto</re nderMode></initialWindow><icon></icon><customUpdateUI>false</customUpdateUI><allowBrowserI nvocation>false</allowBrowserInvocation></application>

  • How di I run Adobe Air SDK ADL in Linux?

    Hi,
       I downloaded Adobe Air sdk, and want to run adl... But it does nothing at all. No error message, no results, nada.....
    How do I make it at least tell me what it is trying to do? (I renamed adl to adl_linux since there was an adl file already in the flex sdk,
    apparently it is for the mac)
    Here is what I get:
    $ $flexsdk/bin/adl_linux
    $ $flexsdk/bin/adl_linux AirTopo2-app.xml
    $ $flexsdk/bin/adl_linux no-such-file.xml
    $
    Not very helpful....... Is there anything else I need that adl depends upon???
    Thanks,
    Larry

    OK, I am getting further...
      I can get started...
      But I guess Adobe does not know how to build executables in linux without shared libraries. It is just a flag for goodness sake! It includes the code
    in the binary. Yes, it makes the executable larger, but it does not require the user to load a bunch of stuff he does not need/want.
    I now get:
    $ ./adl
    Error loading the runtime (libpangocairo-1.0.so.0: cannot open shared object file: No such file or directory)
    My quandary is this, I work for a large company, there are over 250 developers who each have their own machines and work on the same product. We have professionally managed linux boxes that exist half way across the country. We have our development environment in views that can be created.
    To include this list of shared objects in our linux boxes is not feasible. We could possibly add to our development views, and I will try and modify LD_LIBRARY_PATH to point to location in our views.
    This is a lot of work Because Adobe does not (know about?) want to use the -static flag in "ld" to not use shared libraries (and Adobe does not use Java for adl....)
    It would be really nice if Adobe had a version if the SDK that did not require this huge list of shared libraries that I would not even try and request get installed company wide (my Department's linux boxes and all other standardized development boxes)
    Please, Please, Please use "ld -static" when you link executables for linux! (or make adl a java program)
    I need adl to run regression tests on a part of our product.
    Required libraries
    libgtk-x11-2.0.so.0
    libgdk-x11-2.0.so.0
    libgdk_pixbuf-2.0.so.0
    libgobject-2.0.so.0
    libglib-2.0.so.0
    libgthread-2.0.so.0
    libX11.so.6
    libfontconfig.so.1
    libfreetype.so.6
    libXrender.so.1
    libz.so.1
    libxml2.so.2
    libnss3.so
    libssl3.so
    libsmime3.so
    libnspr4.so
    libdl.so.2
    libplc4.so
    libplds4.so
    libstdc++.so.6
    libm.so.6
    libgcc_s.so.1
    libpthread.so.0
    libc.so.6
    libxslt.so.1
    libcairo.so.2
    libXt.so.6
    libpango-1.0.so.0
    libpangocairo-1.0.so.0
    libpangoft2-1.0.so.0
    libpng12.so.0
    libGL.so
    libkwallet.so*
    libgnome-keyring.so
    libkwalletclient.so*
    libkdecore.so*
    libDCOP.so
    libqt-mt.so
    libhal.so
    libhal-storage.so
    libXext.so

  • Overlaying adobe air sdk 13 for flex mobile project gives me error

    After overlaying adobe air sdk in flash builder 4.6 i am getting this error in my flex mobile project "Could not resolve <s:ViewNavigatorApplication> to a component implementation.". I have followed the steps mentioned on adobe site. Can anyone please suggest me what i need to do in order to get this work.

    You are probably missing the updated flash debug player that describes all the new methods to the application.
    There is a good walkthrough of how to upgrade flash builder to a new library version, this is described in the first video of hsharma's starling tutorials.
    Its very annoying though, i wish adobe would really build in a feature like this to update libraries.

  • Overlaying adobe air sdk 13 in flash builder 4.7

    After overlaying adobe air sdk 13 in flash builder 4.7 I have followed the step mentioned on adobe site.
    i am getting lots of error in flash builder 4.7 after overlaying.
    Can anyone please suggest me how to get it done for flex mobile project.

    You are probably missing the updated flash debug player that describes all the new methods to the application.
    There is a good walkthrough of how to upgrade flash builder to a new library version, this is described in the first video of hsharma's starling tutorials.
    Its very annoying though, i wish adobe would really build in a feature like this to update libraries.

  • Adobe Air Sdk

    Hi,
    I had downloaded the Adobe Air SDK and I do not know how to use it, I had extract the zip file and I found a collection of 6 folders.
    1. bin
    2. frameworks
    3.libs
    4. runtimes
    5. samples
    6.templates
    I tried a basic tutorial(hello world){using html and xml} with basic IDE but I was not able to do it .. I am not familiar to this tool at all..
    could someone help me ?
    It would be very kind if you coild provide your emai-ids as well ...
    Thank you

    You can place those files anywhere you want. Then you open your favorite text editor and start writing AIR apps.
    After you have written what is necessary for an app you compile and then package it.
    You'll accomplish this much easier with Flex Builder, but here are some links to Adobe LiveDocs pages on creating AIR apps using the SDK:
    Setting up the SDK
    http://help.adobe.com/en_US/AIR/1.5/devappsflex/WS5b3ccc516d4fbf351e63e3d118666ade46-7fb8. html
    Your first AIR app with the SDK:
    http://help.adobe.com/en_US/AIR/1.5/devappsflex/WS5b3ccc516d4fbf351e63e3d118666ade46-7fd8. html
    If this post answered your question or helped, please mark it as such.

  • Adobe AIR SDK (3.4.0.2710) Captive Runtime Not Updated

    Hi,
    I just downloaded the latest Adobe AIR SDK 3.4.0.2710. Looking at \runtimes\air-captive\win\Adobe AIR\Versions\1.0\Adobe AIR.dll it still says it is 3.4.2540. Will the captive runtime be updated to 3.4.2710?
    Thanks,
    John

    Just retried the SDK download at http://www.adobe.com/devnet/air/air-sdk-download.html and it looks like the runtime has been updated to 3.4.2710. All good now.

  • Adobe Air 2.0 beta causes overly transparent applications - unuseable

    Hi,
       I'm running Crunchbang linux 9.04 (Ubuntu Jaunty) x64. I successfully installed Adobe Air 2.0 beta and apps run, but they are all so transparent that they can't be seen or used. Below is a screenpic of an adobe air application called doit.im. It works fine in Adobe air 1.5 on this rig, except it always asks me to click to okay the certificate and the window won't move, it's fixed where it is.
    When running Adobe Air 2.0 apps, they are moveable, still ask me to click the certificate each time, but... they are WAY too unclear to see. When running the apps in a terminal, they yield no errors. I worked through all the gtk canberra errors successfully.
      So I'm running the apps fine from 1.5, but just wondering if anyone know how to fix the overly transparent issue for adobe 2.0 beta - with X64 linux rigs.
        Thanks,
            Peace

    Hi Tshann
    Thanks for reporting this problem! We were aware of this issue and it will be fixed in the final release of AIR2.
    -Thanks
    Sundeep
    AIR Team

  • Is Adobe Air SDK needed GPU information, when the game want to load the ATF file ?

    Hi, Adobe members.
    this is jonghwan lee.
    Actually I found texture load issue on a game(names samkukjangtu on korean) which is using Adobe gaming sdk.
    the game uses the ATF file for the textures on the game(actually it's related in Air SDK, I think).
    Of course, it is not problem for others GPU. but the newly launched IMG GPU( PowerVR rgx version ) makes this problem.
    I guess the SDK is using GPU information for the control some configuration
    is that right? please let me know about this issue ASAP.
    thank you.

    Well. the issue is like texture loading problem as shown below.
    <- this image is made from ATF files.
    From checking original ATF file with ATF view program, the image was all right.
    But the image is polluted like this after loaded on Texture memory.
    So, I assume that Adobe Air SDK set some configurations for loading ATF files with GPU information.
    Becasue this problem is not reproduced on the smartphone which uses the existing GPU(It means already launched GPU), but it is reproduced for the newly developed GPU(actually i'm developing with Imagination rgx version which is not really launched).
    To sum up, Please confirm that Adobe Air SDK uses GPU information for loading texture from ATF file.

  • Where is the Adobe AIR SDK developers forum please...

    Hi,
    I'm told that there is a Adobe AIR SDK developers forum here somewhere.
    I'm new here and can not find it anywhere.
    Please help...
    Tomexx

    http://supportforums.blackberry.com/t5/Tablet-OS-SDK-for-Adobe-AIR/bd-p/tablet
    Files & Folders, the unified file & cloud manager for PlayBook and BB10 with SkyDrive, SugarSync, Box, Dropbox, Google Drive, Google Docs. Free 3-day trial! - Jon Webb - Innovatology - Utrecht, Netherlands

Maybe you are looking for