How to divide and load parts of Large Adobe AIR app for Android

Hi!
I want to create an app for Android but it will quite large. It will be larger than the 50MB offered by Google Play Store. This means that I need to find a way and break the app and load parts of it when I need them. Imagine it like minigames inside a bigger app.
It is not clear to me how to achieve this since every time on AIR, I can export and APK file for a mini-game let's say. Can I later download APKs and integrate them into my main app? How would this be possible? Another question that I have is: In order for a SWF to play on my app, it needs to be built by AIR for Android?
The best case would be to download content from In-App purchases and integrate in my app.
But these things are not so clear.
Thanks in advance for your help and support.

I don't know how your application is structured, but if you can split sections off into separate SWFs(plain AS3 document) then you could host those section SWFs online and require the user to download them on first run.
You could use the FileReference object to download the SWFs, save them to the File.applicationStorageDirectory, and then display/load them up with the Loader object when needed from the app storage directory. You would possibly need to check to see if the files are present at every boot of the app though as a user could "Clear Data" or "Clear Cache" of the app in the Settings of their device and one or both of those could/would delete the downloaded files.
FileReference - Adobe ActionScript® 3 (AS3 ) API Reference

Similar Messages

  • How to Create and Test a Zone of Type F1-APP-URL

    Hi,
    I would like to how to create and test a Zone of Type F1-APP-URL?
    What all is required to setup an ADF application based URL in F1-APP-URL, what to configure and what are the basics or definite steps required to have a Zone of Type F1-APP-URL up and running in the application? Any Sample ADF components to be created?
    Please kindly let me know. Any test or dummy URL existing already which is based on ADF?

    Refer to Doc. Id 1515146.1 on the support site. Although for the moment it refers to a MWM example and may not be much of a help but it'd give a basic idea as to how it should be done.

  • How to embed and play mp4 video in HTML AIR application?

    Adobe Air HTML / JS application compiled from SDK command line.  I am not using flash pro or flash builder to create the application.
    I was using dreamweaver but the dw air plugin seems to have stopped being developed so I switched to using the command line tools.
    I am creating desktop air application that has embedded mp3 audio and also I want to embed mp4 video.
    Using jQuery and the AIR js plugin I am able to play audio via buttons hooked up via jQuery and the AIR js plugin from the SDK.
    What I am doing is creating proofs for clients in AIR and sending link to the client to download the application.  I embed the media because I do not want to place them on a website where it could possibly be seen by non-clients and get picked up in the SE's.
    I am finding it hard to understand the AIR process for playing video.  I read that it is the same procedure as audio but it does not work.
    If it was hosted on youtube or somewhere embedding the web player would be simple, just copy paste some code and it works.  When actually embedding the video say mp4, f4v, mov, wmv or similar file formats I can't get AIR to play the video.  Audio, not a problem it works great.
    I would like to do the following with video.
    Embed the actual file in the AIR app.  I can do this, it gets embedded.
    Play, pause and stop the video - Can't get this to work
    Get the current stop point and be able to start the video by sending a start point - This is all working with audio I just want to do it with video.
    I have searched the forums, the search engines, youtube and read through the documentation on Air but the video does not work at all.
    I need code samples and direction on how to make an embedded video play inside of a desktop air application using the HTML / JS air model. I am using the command line tools to create the air package and test the air app.
    Please help if you have figured this out.
    Thank you.
    Not sure if this matters but I am using Windows 7 Pro 64bit as my development machine.

    In addition I also can not get html5 video to play in the adobe air app.  Would this issue be tied to the above?

  • How to draw and modify double lines with Adobe Illustrator?

    I need tot draw roadmaps. This should be easy using the pen tool, but my problem is that I cannot find a way to draw double lines with this tool. I have seen many fancy border styles and patterns. Some do have double or even quadruple lines, but the problem is than that they have an offset from the vector line and the space in between the two lines (the edges of the road) cannot be filled. Somewere I also found some pens called 'Double line 1.1' to 'Double line 1.6' but they also had an offset from the vector and I could not chance the size of the lines and the interval in between them independently.
    What I am looking for is a way to draw two lines in parallel and have the option tot fill the space in between with a color or even a pattern.
    The color and size of the lines should be changeable to make a distinction between several types of road.
    Is there an existing set of pencils for this purpose? It would be nice to be able to draw not only roads, but also railways and rivers!
    I am surely not the first person who needs to do this?
    I use AI version 6

    Jacob,
    Thanks for the answer. I have been searching for a solutions for a long
    time, but today I found the solution on a forum (not on this one). That
    solution is exactly as you described below, i.e. using a coloured line and a
    narrower white line on top of the first one. My problem was that I did not
    know how to create a custom brush based on the two lines. Now I know how to
    do that. However, I still have the problem. I can now draw double lines and
    I can change the color of the background line (the coloured one) but I
    cannot change the white colour of the narrower line. I assume that I have to
    completely redefine a new brush when I need to change that colour too.
    Regards,
    Rob Kole
    Van: Jacob Bugge [email protected]
    Verzonden: donderdag 28 maart 2013 17:04
    Aan: RKOLE
    Onderwerp: How to draw and modify double lines with Adobe
    Illustrator?
    Re: How to draw and modify double lines with Adobe Illustrator?
    created by Jacob Bugge <http://forums.adobe.com/people/Jacob+Bugge>  in
    Illustrator - View the full discussion
    <http://forums.adobe.com/message/5186535#5186535

  • Where and how can i download adobe digital edition for android (samsung tab 2.0)?

    Where and how can i download adobe digital edition for android (samsung tab 2.0)

    You will want to download a copy of Bluefire Reader from the Google Marketplace.

  • How can I get a new copy of the Voicemail app for my LG Spectrum?

    How can I get a new copy of the Voicemail app for my LG Spectrum?  It no longer works....the screen say Loading please wait....the
    !Visual Voice Mail - A Visual Voice Mail error has occurred.  Please try again. OK   I've tryed several times with the same message.  I've
    deleted the app from my screen and replaced it from the Apps Library....still the same message.
    I cannot find an answer on MyVerizon.  Any ideas?
    Thank you,
    Dee

    OK, at least 3 is working.
    I don't know how you have a Tape Recorder icon on your Home Screen. I cannot add one myself. But, I am running Holo Launcher in replacement of the default LG "Optimus" User Interface. It's much better in my opinion.
    Try long pressing the icon and select Edit and maybe you can change some attribute of the icon.
    Another thing you could do, is long-press an empty area of your desktop, to add an icon. Select Shortcut, then Select Contact, and scroll through your contact list and choose the contact that you added for *86.
    You realize if you have voice mail you haven't heard, there is a tape recorder icon in the notification bar, which you touch and pull down, then press it to dial voicemail.
    If that functionality doesn't work, you MIGHT want to consider doing a factory data reset on your device, but that is going to nuke all your personalizations and cause you work to set up again.

  • How to get Adobe Air-apps to run *properly*? (Voddler ecpecially)

    First: I am running AMD64, and have installed the bin32-adob-air from AUR.
    The problem is, this does not work as it should. Air apps are never "installed" like they would be in Windows, or Ubuntu with the adobe-air from adobe installed. This causes problems with remembering configs and storing data between instances. Wimp, t.ex. will never remember my password, now matter how many times I check the remember password-box. And When running VOddler it just won't find the config file.
    I am trying to run Voddler in linux now, following this. But it won't work.
    I just get an "error reading config file" message when starting it using the adobe-air command (ie. the script from the package. Thinking the problem might be caused by the script running air apps from a temp dir, i aslo tried to run
    [gert@blad opt]$ /opt/adobe-air-sdk/bin/adl -nodebug /opt/airapps/VoddlerPlayer/META-INF/AIR/application.xml /opt/airapps/VoddlerPlayer
    after unpacking the Voddler Files there, but no luck.
    I see that there are a newer version of Voddler out now, and I will try that, but I'd appreciate any help with this spesific issue.
    Also, I would like to know if there is any way to get the "full Air experience" where you jut click-and go, and can install Air-apps the simple, proper way "everybody else" does it. Cause Air right now is a major hassle. Is there any chance of getting the Adobe-Air installer from Adoe work on Arch, or at least get a similar result? Integrated in the system, detected in the browser on  webpages etc.
    Last edited by naguz (2010-05-15 17:01:25)

    Tried again with the command taken from firefox appended to the script (instead of §1 §2 etc.) and got:
    (adl:17512): Gtk-WARNING **: Kunne ikke finne temamotor i module_path: «murrine».
    (adl:17512): Gtk-WARNING **: Kunne ikke finne temamotor i module_path: «murrine».
    Gtk-Message: Failed to load module "gnomesegvhandler": libgnomesegvhandler.so: cannot open shared object file: Ingen slik fil eller filkatalog
    Error #2032
    http://api.voddler.com/vnet/index/login-token
    Parameter: version:2
    Parameter: token:3c034c484e3ed6217ec0b4b6a6cd01c9
    Response received
    http://api.voddler.com/vnet/index/pre-movie-request
    Parameter: movie:2721821284152452737
    Parameter: session:952b4840d0a91e896c210622ee83333a_0c965a262382ad33a9479ebfaddf9a3d
    Parameter: crid:2721821284152752803
    Parameter: version:2
    Response received
    PreMovieResult: [object Object]
    movieID: 2721821284152452737
    MOVIEREQUEST: false movieModel.resumeTime: 0
    http://api.voddler.com/vnet/index/movie-request
    Parameter: movie:2721821284152452737
    Parameter: session:952b4840d0a91e896c210622ee83333a_0c965a262382ad33a9479ebfaddf9a3d
    Parameter: version:2
    Parameter: crid:2721821284152752803
    Parameter: resume:0
    Response received
    Adding to playlist url: 0p000001000_e000335_n0017_s0318_he3052b084510fe31419083eb165aa4bc_00000000000000000000000000000000_d59845ff23b2b6f22d3f3ee9020ab34af_t02
    Logg error
    (Object)#0
    clientCode = 30
    clientVersion = "3.10.1680"
    ctxId = ""
    errorCode = 1000
    extra = "Token login result triggered"
    os = "Linux"
    userId = "'2721821230480292729'"
    vnetVersion = "5522"
    DRM check...
    ReferenceError: Error #1069
    movieMetaDataReceived: 2004
    NetStream.Play.Reset
    NetStream.Play.Start
    Voddler.Open.Done
    Main movie metaData received
    DRM Fatal Error!
    Logg error
    (Object)#0
    clientCode = 30
    clientVersion = "3.10.1680"
    ctxId = ""
    errorCode = 7744
    extra = "General Error: 7744"
    os = "Linux"
    userId = "'2721821230480292729'"
    vnetVersion = "5522"
    ReferenceError: Error #1069
    It errors out after the Voddler window has been "Rerwinding the tape"  for about 10 secs.
    EDIT: I moved my voddler folder to /opt/airapps so I could use your file without any edits to rule out typos.
    Now, the voddler player starts from firefox in wine. But I immediately also get the "Oops, we noticed you didn't watch the whole movie"-window pops out at the same time, and i get a similar error as above.
    DRM check...
    ReferenceError: Error #1069
    movieMetaDataReceived: 2008
    NetStream.Play.Reset
    NetStream.Play.Start
    Voddler.Open.Done
    Main movie metaData received
    DRM Fatal Error!
    Logg error
    (Object)#0
    clientCode = 30
    clientVersion = "3.10.1680"
    ctxId = ""
    errorCode = 7744
    extra = "General Error: 7744"
    os = "Linux"
    userId = "'2721821230480292729'"
    vnetVersion = "5522"
    ReferenceError: Error #1069
    I guess voddler cancels the DRM "lease" as soon as the error box pos up, giving me this question. Seems Firefox doesn't communicate properly with the air-app. Or something else I don't get. complete output from firefox run: pastebin
    Last edited by naguz (2011-01-11 22:32:16)

  • I use captivate 8, the problem when i make app for android. the sound not heard. i use android4.4. how i do?

    i use captivate 8, the problem when i make app for android. the sound not heard.
    i use android4.4. how i do?
    i use phonegap online.
    thank you

    Yes I do spend a lot of time in China but I have had problems in other countires as well.  I am in China right now.
    I have two Gmail accounts and one Cox account.  Cox is my intranet provider back home.  I have had problems with all three accounts. 
    I have tried several outgoing port settings.  993, 995 465, 587 are some that I can remember trying.
    Sometimes my accounts will go offline without me doing anything.  This is all a mystery to me.  I don't have any idea why I have trouble like this.  A few minutes ago I changed my Cox account outgoing port and took the account on line and I got my incoming email but when I tried to forward an email that I got it would not go out. 
    Any ideas you have would be helpful.

  • I live in Italy and I am trying to buy an App, for the first time with my iphone4...in the past only downloaded free apps free apps; I have a US Visa card and it is not accepted by italian Itunes...what can I do to do my purchases?

    I live in Italy and I am trying to buy an App, for the first time with my iphone4...in the past only downloaded free apps free apps; I have a US Visa card and it is not accepted by italian Itunes...what can I do to do my purchases?

    On the apple website that is correct i beleive.... but i have an italian american express and am able to purchase stuff here in the US.
    I mean, i dont think it really matters

  • My parent's IPad is SUPER outdated and I'm trying to buy an app for my brother for Christmas. However, the computer that was connected to the IPAD, we no longer have. So is there any way I can update it on my mac without erasing all the photos and videos?

    My parent's IPad is SUPER outdated and I'm trying to buy an app for my brother for Christmas. However, I can't buy the app because it says we need to update the software. The thing is, the computer that was connected to the IPAD, we no longer have. So is there any way I can update it on my mac without erasing all the photos and videos?

    HELPPP ME BEFORE CHRISTMASS MORNING!!

  • My iphone 5 is not syncing with my laptop and windows 8. cant find an itunes app for my laptop. is there something i can get that will help with this

    My iphone 5 is not syncing with my laptop and windows 8. cant find an itunes app for my laptop. is there something i can get that will help with this?

    Lbo51380 wrote:
    cant find an itunes app for my laptop. is there something i can get that will help with this?
    Go here -> http://www.apple.com/itunes/download/

  • The file to download the app for Android is not working from my phone--it says that the file isn't there. However it does see the one for the Iphone (even though it can't use it). I'm very computer literate and am pretty sure the problem is on your end.

    The file to download the app for Android is not working from my phone--it says that the file isn't there. However it does see the one for the Iphone (even though it can't use it). I've tried it multiple times and continue to get the same message: "NOT FOUND The requested item could not be found". I also tried through the Market application on the phone but ended-up with the same result.
    I'm very computer literate and am pretty sure the problem is on your end. If this is the case then no one can download the app. I considered that perhaps because it's still in Beta that it was removed due to some other type of software issue. I would really like to use Firefox on my new Droid (2.0); when with this be available?

    Firefox will not appear in the Market for most phones with incompatible hardware. You can check if your phone is supported here:
    https://wiki.mozilla.org/Mobile/Platforms/Android
    Even on some supported devices, a bug in the Market software prevents Firefox from showing up. This may be related to the fairly recent Android Market app update. If you go to Settings/Applications/Market and choose "Uninstall" you can uninstall the update, and then search for and install Firefox from the marketplace.
    Or, if you have a supported phone, you can download the app directly by typing this address into your phone's browser: http://bit.ly/fxbeta3
    (Note: To download the app directly for an AT&T phone, you will have to search for instructions on "sideloading" the APK file, since AT&T disables the option to install from non-Market sources.)

  • Setup has encountered an error and cannot continue. Contact Adobe Customer Support for assistance.

    I have an iMac that meets system requirements.  I have downloaded CS4 from Adobe and when I try to install it says "Setup has encountered an error and cannot continue. Contact Adobe Customer Support for assistance."  This happens while it is checking the system profile.  I have read many forums and tried the following:
    Re-downloading the software
    Moving the download to an external drive to install
    Deleting all Adobe programs on my computer
    Clearing all caches
    Installing in safe mode
    Verifying the disk
    Creating a new administrator and then installing
    Attempting to re-install after the error
    None of these options have seemed to make a bit of difference. If there is another option could someone please share?  Adobe said they will not ship actual discs although I own the program.  They have yet to be able to help me when I have called. 
    Thank you in advance for any help!

    cs4 wasn't designed for that os, System requirements | CS4, Point Products
    you can check other users success here, http://roaringapps.com/apps:table
    you can try cleaning before installing, Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    and, if all else fails, you can check your log files for more detailed error info, Troubleshoot with install logs | CS5, CS5.5, CS6, CC

  • How can I download Adobe air 0n a android tablet PC Intel TA10CA3 it keeps saying error 24

    How can I download Adobe air 0n a android tablet PC Intel TA10CA3 it keeps saying error 24

    Hi Akad,
    Did you found any solucion to your problem?
    I'm having the same problem with my tablet.
    The same code works on others devices but not on my tablet.
    I believe we are using the same tablet.
    Please send me an E-mail when you can.
    My email: [email protected]
    Hope you found the solucion.

  • How to fix sound delay in adobe air apps?

    I am working on this drummer game where the user has to repeat what he listens by tapping on the thouchscreen, but there´s a noticeable delay on Android and iOS. The same game I had it working fine on AS2 for PCs. I don´t know whats the problem in adobe air apps. I hoe someone can help me.

    Unfortunately, I do not own an iOS device and from my understanding, you have to have a developer account just to be able to test apps on your device, even if you have no intention of ever publishing something on the store. Correct me if Im wrong on that, but everything I have seen is that the only way to test apps without a developer account is to have a jailbroken device.
    I have been building an audiobook player on and off for a while now and tested it on a Galaxy Nexus, Nexus 4, and Nexus 5 in addition to my Moto X. None of those ever experienced any noticeable delays in playback. That is why I was wondering if it is a per device issue. Or it could be that I have just always used vanilla (or extremely close to it) Google Android devices. I understand that the devices I have tested with are most likely in a very low percentage of active devices used aside from the Moto X. I was basically just wanting to jump in to provide my notes on the issue, the device I tested with, and my experience.

Maybe you are looking for

  • When I tried to login to em console unable to see the soa server up. Help

    Please help me to resolve the issue. I am unable to see soa_server in up condition in em console. i followed the below steps. 1. started Admin server through startAdminServer wizard from start--> all programs 2. started Soa_server through c:\oracle\M

  • Save Output to: setting not being saved

    This has been driving me nuts for a couple of years, so I figured I'd finally ask if anyone else sees this behavior. My script grabs a PDF and converts each page to new, separate, PDF files using a custom name and number. There are three components:

  • Is sound possible with lightening-VGA connection to projector?

    I want to use my iPad-4 to give a Keynote presentation that contains video clips using a projector but a reviewer on Amazon has said that the Apple MD826 adaptor does not allow sound. Is this true of all lightening-VGA adaptors?

  • I have Just Got Flash Builder 4.5 but I wanted Flash Builder for PHP

    I have Just Got Flash Builder 4.5 and I wanted Flash Builder for PHP do I need to buy the the separate product (Flash Builder for PHP) or can I use the Flash Builder Professional 4.5 that I have just purchased? And If I can use the Flash Builder Prof

  • SOAPUI to Oracle UCM error

    Hi , When i try to check in a file using soapui to oracle ucm the file is successfully checked in but am not able to view the file in ucm . I get the below error "Error in a subsystem. An error occurred when loading an image for translation. To downl