Air app limitations . . . ?

Hi there. Two questions. Is there a file size limit to an Air application and is it possible to add around 12,000 audio files in one go?
On the Air Application and installer setting you can only add included files one by one. Is there any way to select all and install all the files at one time.
I'm creating an audio dictionary. When a user clicks on a word or short phrase it plays the audio file, so learners can hear the sound.
I thought the best way to do this would be to embed to audio swf file - I'm not sure.
I would appreciate any help or suggestions.
Thanks a lot.

If you put so many files in the app the resulting installer will be huge and installation will take a lot.
If this is an issue I encourage you to go for a streaming solution.
HTH.

Similar Messages

  • Is there no way to direct an AIR app's audio to different audio output devices?

    I'm needing to make a couple of our AIR apps select certain audio devices to send their audio output to, and last year, somebody mentioned possibly using native extensions to do this.  I had to start working on other things for a while, but I've come back to this (for the moment), and I've basically learned how to create native extensions.
    But so far, they don't seem to provide me any special access to anything going on under the hood of an AIR app.  When you stream live audio in through RTMP or RTMFP, the details of the audio are hidden from you.  There doesn't appear to be any place where you can actually access the audio bytes that are being sent over the wire.  You can specify a certain SoundTransform object for the NetStream to use, but that class is final and a vanilla Flash construct, so even if it may have a way to access the audio bytes, they're not acessible at all.
    It really looks like, when a NetStream object starts streaming in live audio, there is no way under the sun to access the audio bytes and direct them to a certain audio output device, with or without extensions.  Is this so?  It would be unfortunate if Adobe didn't allow this, even through native extensions.  Thanks.

    Couple quick thoughts..
    Limits are important. There's a large amount of work done to keep a clear separation between a users decision and a developers decision. For instance, you can't change a users default audio output because that clearly violates a users decision. That said, here's a whole mess of people debating the issue and actually eventually an undocumented COM API you can find that will actually let you do it in Vista/Win7 (but not 8), however don't expect that to be a 'good thing to do':
    http://social.microsoft.com/Forums/en-US/9ebd7ad6-a460-4a28-9de9-2af63fd4a13e/programatica lly-setting-the-default-playback-device-and-recording-device?forum=windowspro-audiodevelop ment
    You might want to get a beverage before reading that.
    Aside that, RTMP is secured, which is why you can't gain access to the bytes. The entire purpose of it is to assure media developers that their media can't easily be copied/stolen. Adobe doesn't document their method of securing streams but they do publish the RTMP specification. It's entirely possible for you to create your own RTMP server and encryption method while delivering a RTMP stream to custom client that you code yourself which can read the stream. Here's the spec:
    http://www.adobe.com/devnet/rtmp.html
    So I'd say it would be unfortunate if Adobe did give you access to the bytes. You might as well just hand users a mp3 of whatever song is playing because they would steal media left and right.
    That isn't to say you can't use a multitude of ways of getting the data going across the default output device. Plenty of apps (fraps/etc) capture video and mixed audio streams. But Adobe isn't going to give you the keys to the kingdom and let you decrypt their protected media protocol.

  • AIR app communnicating with External App

    I would like to make my AIR app communicate with another
    application that's running on the desktop. What are the best ways
    to do this?
    Ideally I'm looking to call functions inside the AIR app from
    a separate program, and vice versa. This is in fact possible using
    the ExternalInterface capability, however, this is only available
    when the separate application is an ActiveX container (such as the
    browser), and thus contains the FlashPlayer ActiveX control within
    it. But what if your AS3 application doesn't just run inside the
    FlashPlayer but requires the AIR runtime instead? There doesn't
    seem to be any way that an external app. can talk to an AIR app the
    way it can call functions on the FlashPlayer.
    My reasons for needing this are that while AS3 is great,
    especially for creating an interactive interface, there are still
    some low-level things which must be coded in another language.
    Any thoughts that anyone has on this topic would be greatly
    appreciated.

    Hi Bruce,
    In theory, you can do what you want, but it is an indirect
    way of achieving it, and there are some performance/functional
    issues.
    You can make a windows application that is an ActiveX control
    container, and put the FlashPlayer control inside it. Handle the
    "FlashCall" event in your windows program (this is fired when your
    swf calls a custom external function), and then you can use it to
    load and call whatever .dll function you want.
    In practice, from what I've observed, there are some
    limitations. The graphics performance of the FlashPlayer suffers
    when embedded this way in a Windows app. Also, if you want to call
    into the flashplayer sometimes the function calls fail. Having said
    this, my experience is limited to AS2 implementations; maybe things
    have improved with AS3.
    Anyway, hope this helps. Would be interested to hear your
    observations if you should try this route.
    Ed

  • Air app doesn't load with renderMode set Auto

    Adobe Air app is not loading on my customer's Android device with renderMode set to Auto, while it works fine when renderMode set to GPU.
    I guess in Auto mode it tries to set it to Direct and fails.
    I'm using Adobe Air v3.6
    Android device is Polaroid PMID-971C
    Android version is 4.0.3
    Unfortunately, I have limited access to customer's device, but logcat shows the following:
    "Fatal signal 13 (SIGPIPE) at 0x00004de8 (code=0) adobe air"
    Any help or fix would be highly appreciated.

    From the docs that I could find (http://help.adobe.com/en_US/air/build/WSfffb011ac560372f-5d0f4f25128cc9cd0cb-7ffd.html), it appears that "auto" mode = cpu mode.
    The default value is auto, which currently falls back to cpu mode.
    Is this happening on multiple devices or just the one?  Any chance we could get access to your application to try it out?  If so, could you please open a new bug report on this over at bugbase.adobe.com?  If you'd like to keep your app/code private, feel free to email the attachment to me directly ([email protected]). 
    Once added, please post back with the URL so that others affected can add their comments and votes.

  • How to compile an .air app from the ADT command line?

    Hi,
    I would like to compile an .air app from the ADT command line.
    Does anybody have an example?
    I don't know how to add the AIR SDK path and a folder to it.
    Is there a generator for the command line availabble?
    Thanks

    Correction: it seems that Applescripts and some similar scripts can be called from the command line using "osascript scriptname". I don't speak automator but you might like to try it. osascript seems to come with severe limitations though, for instance it doesn't allow user interaction such as dialogue boxes.

  • Trouble installing .air app on mac

    For the sake of people searching, or if the image gets removed on day, here is the error message as text:
    "Sorry, an error has occured.  The application cannot be installed due to a certificate problem.  The certificate does not match the installed application certificate, does not support application upgrades, or is invalid.  Please contact the application author."
    I keep getting the above error when trying to install a new .air desktop file on a third-party Mac over which I have limited control.  The .air app does work on Windows 8.1.
    -Do you think it could be the AIR runtime (currently version 14, and am getting admin to update it to version 16)?  I built the app in AIR 16.
    -There is a previous version of the app, with a different certificate that is already installed.  Would this possibly cause the error?
    -Finally, I signed the app with a self-created certificate for development reasons.  Is that likely to be a problem, it didn't seem to be an issue last time I did this?
    Thank you.

    This was covered a couple of times just in the last week.
    Search for "runtime redistribute" or similar.

  • Adobe AIR app installation issue due to certificate problem on mac 10.9.5

    Im trying to upgrade and then reinstall an Adobe Air application but get the error message failing to install due to a certificate issue.
    The developer says the fix is to uninstall the app and install again but this also fails.
    Checked my machine clock - saved but that didnt work
    The adobe AIR uninstaller simply says I have the latest version? Cant seem to delete and reinstall although other adobe air apps work so I dont think this is the issue
    I have gone through the troubleshooting guide: Troubleshoot AIR installation | Mac OS but still have the issue?
    Any ideas would be great.

    I suspect your Mac OS install was an in place upgrade from an earlier version. This is something I would never even consider with a production machine.

  • Need to 'launch' AIR app from SD card on Samsung Galaxy TABLET...

    April/28/11 at 3pm ET
    Hi to the group...
    Not 100% sure if this is proper forum to ask this, if anyone knows a better one please point me to it via ([email protected])
    Ok. Trying to see if my working .AIR app will run on my pals Samsung Tablet (before I buy one for myself)...
    Dropped the 'AIR' file onto the SD card (I can see it (the AIR file, size correct) via the fileBrowser app but clicking it does nothing.
    Of note AIR is installed in background of the device and it is running.
    Cant see/find an 'Adobe AIR launcher?' icon' anywhere (only see Adobe PDF browser).
    In all my web searching I see 10000 developer related tutorials re: creating an APK file / converting to APK file using Flash Professional ect.  Not what I am looking for...
    I think I am missing something very basic here is there a launcher for AIR apps on Android?
    TIA //GregH

    Hello
    Thank you for your post.
    You cannot throw directly from your external device, however you can once that file is transferred to internal memory.
    please review this guide for instructions on how.
    How to throw (send) music, video or picture files to a DNLA compatible device.
    https://us.en.kb.sony.com/app/answers/detail/a_id/34563/c/65,66/kw/34563

  • How do I use transparent=true in my Air app but still displaying swf ?

    How do I use transparent=true in my Air app but still displaying swf's files ?
    The thing is that I created a customized chrome, and looks nice when it is transparent cause seems to be floating, it works as a browser, but the problem is that when I navigate with it into a page wich contains embedded youtube videos, as in example, or any other swf file... it just doesn't show...
    Any help ? thanks in advance,

    Contact iTunes Support: http://www.apple.com/support/itunes/contact/

  • How can I set connection to external XML file with Dreamweaver to buiild AIR app?

    Hello,
    I try to do simple AIR app in dreamweaver. It's not problem
    to use static data. But I'd like to use dynamic data from external
    XML file. I try to use Spry and evrything works fine in web browser
    but i have problem with loading external XML data into my app in
    AIR. Can I simply transform my spry based html app into AIR?
    What should I add to do this?
    Pawel

    Daniel Lichtenwald wrote:
    What are the requirements and steps for arranging to receive this large file using File Transfer Protocol (FTP)?
    Usually, we don't speak of "receive" when using FTP, since the file is transferred from server to client, so it's more of a case of "download".
    At your end, it's simple. You use an FTP client; under SL, that includes Finder and Safari, so you don't even need to get any additional software.
    At the other end, it's more complicated; the 'sender' must set up an FTP server on his machine.
    Alternatively, you can set up your own Mac as an FTP server, and have the 'sender' connect to you with an FTP client and upload the file; but, if your Mac lives behind a router, then you have more work to do with the router settings.
    That's why it's much easier to use the file sharing services mentioned above -- if they are available in both sender's and receiver's locations. (Keep in mind that some countries block access to all those mentioned -- except perhaps <www.transfer.ro>, of which I know absolutely nothing.)

  • Flash Builder 4.7 won't debug air app on Android devices  anymore

    Hi there,
    A strange thing happened today to my Flash Builer 4.7 installation on OS 10.8.5 : it suddenly refused installing and debugging AIR apps.
    At -the famous- 57% of compilation completion I can see the "installing app on device" message, but nothing happens then, and the one minute connection to app timeout is finally triggered.
    I had a look at other threads dealing with this problem here http://forums.adobe.com/thread/1154269 and here http://www.androidpolice.com/2013/02/12/new-android-4-2-2-feature-usb-debug-whitelist-prev ents-adb-savvy-thieves-from-stealing-your-data-in-some-situations/ and I downloaded the latets Android SDK and replaced a bunch of files into the /Applications/Adobe Flash Builder 4.6/sdks/4.6.0/lib/android/bin folder but nothing worked.
    The fun side of the issue is that yesterday it worked, and this morning it did not worked anymore, but I swear I did not ugraded Android on my phone nor I upgraded AIR SDK in FLash Builder or OS X. The Android phone is the same as usual, a Nexus 4 with Android 4.3, that I upgraded 1 month ago.
    I can't debug my Android app anymore, this drives me crazy, and I spent the day trying to find a solution.
    Do you guys had a similar problem ?

    My mistake...
    There was a typo into the XML application descriptor, that prevented the app to install properly on the device.
    Precisely, it wasn't a typo but raher a malformed <intent-filter> node. I launched adb tool from the console with adb install MyApp.apk command, and I saw this : Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED] in the terminal. From here it was easy to find the culprit.
    What would be cool is to have this feature inside the Flash Builder's Console panel.

  • How do I set the stage quality in an AIR app?

    In this article you can set the stage quality to 16X16LINEAR. I'm not able to do this in my AIR app:
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
      xmlns:mx="library://ns.adobe.com/flex/mx"
      width="600" height="625"
      preinitialize="preinitializeHandler(event)"
      >
      <fx:Script>
      <![CDATA[
      import mx.core.FlexGlobals;
      import mx.events.FlexEvent;
      import mx.managers.SystemManager;
      protected function preinitializeHandler(event:FlexEvent):void {
      systemManager.topLevelSystemManager.stage.quality = StageQuality.HIGH_16X16_LINEAR;
      trace("quality=" + systemManager.topLevelSystemManager.stage.quality); // HIGH
      ]]>
      </fx:Script>
    </s:WindowedApplication>
    Flash Player 11.2 graphical gem | kaourantin.net

    From Adobe docs:
    "In the desktop profile of Adobe AIR, quality can be set to StageQuality.BEST or StageQuality.HIGH (and the default value is StageQuality.HIGH). Attempting to set it to another value has no effect (and the property remains unchanged). In the moble profile of AIR, all four quality settings are available. The default value on mobile devices is StageQuality.MEDIUM."
    StageQuality - Adobe ActionScript® 3 (AS3 ) API Reference

  • Is there a way to open the settings app from an air app on both iOS and android?

    Since you can't change the notifications settings within the app, is there a way to simply open the settings app from an air app? like a link or something like that?

    Even on iOS this has only recently been added by Apple for iOS 8 only using the line:
    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]];
    So you would have to wrap this in an ANE and then again, only for iOS and only call it in iOS 8+

  • How to create a more general install package for an AIR app?

    Hi,
    I have been using the ADT to compile an exe of my AIR app along with some other files I want to distribute. Problem is, I would like to do more general install actions (e.g. copy a bunch of files to the users Documents directory, copy a file to the local store, install fonts etc). Right now I achieve some of these by copying stuff from the application directory on the first run, but that is rather kludgy. Currently I am looking at using InstallShield or InstallAnywhere to do what I want out of the can, but I thought I'd see if anyone has some more AIR-friendly suggestions...
    Thanks!

    In my case I managed to work around the issues we were having by doing a configuration pass on the first run of the app. That means I had to basically put all the data I needed in my assets directory using the ADT compiler, then determine if it is a first run as follows:
    var locationPrefsObj:SharedObject = SharedObject.getLocal("PrefsObj");
    if ( !locationPrefsObj.data.hasOwnProperty("appCreatedDate")
    || ( locationPrefsObj.data.appCreatedDate != File.applicationDirectory.creationDate.toString() ) )
         firstRun();
    else {
         initConfig();
    // initialize an existing config
    The firstRun function will obviously be very bespoke, but you need to set the SharedObject at the end of it to make sure it doesn't get called every time.
    // this function is only run straight after an install
    private function firstRun():void {
         var success:Boolean = false;
         // do your first run stuff here and mark success=true if you are happy   
         if ( success ) {
              // set the appCreatedDate - then a future install can identify dirt left by the previous install
              var locationPrefsObj:SharedObject = SharedObject.getLocal("PrefsObj");
              locationPrefsObj.data.appCreatedDate = File.applicationDirectory.creationDate.toString();
              locationPrefsObj.flush();
    Other gotchas I hit:
    (1) You can copy things from the assets folder no problem, but to move or delete anything (so as not to leave lots of extra stuff hanging around), you need to (a) run with administrator privileges on Vista and w7 (the elevation happens automatically if you leave the "Run after install" box checked on an ADT install), and (b) work around the Flash security model that says you can't delete anything from a subdirectory of Program Files under any circumstances. I got around this by something like:
    // delete a file
    new File(File.applicationDirectory.resolvePath("assets/fileToBeDeleted").nativePath).deleteFi le();
    It's a bit nasty as it violates the security model, but until ADT lets you put stuff in two install locations I can't see another way to clean up the install properly.
    (2) I tried to install fonts (using VB and other stuff), but it is a real mess - the models in all different flavours of Windows seem to be different. I gave up as our software could get around it another way ...
    Hope that helps!

  • I get 'unknown error' message when I try to sign in to Air app store (I can sign in to iTunes just fine). Anyone help

    When I try to sign in to the Air app store, I get an 'unknown error' message.  I can sign in to iTunes just fine.  Any suggestions?

    Fixed the problem by going to settings/store and logging out with apple ID.  Then logged back in with password and updates, apps, and iTunes store seem to work ok now.

Maybe you are looking for

  • CC Trial

    Wife is gone for the weekend so I started my 30 day trial.  I started Photoshop CC and it started and offered to migrate my CS6 presets.  I accepted the offer.  Photoshop starup migrated my presets but not my Photoshop preferences so I set my CC pref

  • Issues with Installing Adobe Photoshop Elements 8 on iMac

    Hello Members, I no longer have Adobe Photoshop Elements 8 registered on any computer as my previous computers crashed and the hard drives were no longer functional.  I tried installing the Adobe Photoshop Elements 8 Disc on my new iMac computer and

  • Why is my Apple ID not valid

    When I attempt to sign into iCloud via my iPhone I get the following..."iCloud requires an Apple ID that is an email address". The apple ID I have been using for many years is not an email address. Why can I not sign into iCloud with my current Apple

  • Document part field customization

    Hello All,        Is there anywhere we can customize DIR key field DOCUMENT PART for specific doc type. I searched in DC10, but I get only Document Version Numbering only. Where will I find an option to customize DOCUMENT PART? Thanks!! Regards, Sara

  • Aur/libdrm-git 20090810-1 dont compile here

    I am using x86_64 system, a few hours old system. Actualy its my first installion of archlinux, but i used for years gentoo... but thats not the point I wanted to try out the new 3d r6xx-r7xx drivers. When I try to install it with yaourt i get this c