Android APK Expansion Files for Apps over 50MB

Hello Support,
We are building a new version of an app pubished on PlayStore (built with Adobe AIR) and need to embed higher resolution images. This results in my app apk file size which is over 100 MB.
Google allows to upload apks that are <= 50 MB. For apps which require more storage capacity than this limit, expansion files are needed.
Can you please inform us about how to incorporate these expansion files with an AIR app?
Is there a native extension or a built-in feature to prepare the expansion files and surpass the limit?
I've looked in the forums & there is no definite answer or solution.
If this is not possible at present, can you please add it to the wishlist for the next version of Adobe AIR SDK? Or perhaps, release a free/paid native-extension which enables this.
Thanks!

Yes I got it working this morning, honestly I've got no idea what did the trick, as I did nothing. My only guess right now is I reuploaded new versions of my APK and OBB files on the Android Developer Console yesterday, and maybe it could have taken this long to "refresh".
Basically right now if I install a fresh apk on the device, it will downloads and unzip my obb. If I kill the app and relaunch, it validates if my obb is still there and continues, when before a simple message box with my app name would stay displayed forever.
Here's my app code based on the exemple from http://extensionsforair.com/extensions/apk-expansion-files/ :
public class Main extends Sprite
                    public function Main():void
                              stage.scaleMode = StageScaleMode.NO_SCALE;
                              stage.align = StageAlign.TOP_LEFT;
                              addEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
                    private function onAddedToStage(evt:Event):void
                              addChild(Console.GetInstance());
                              Console.Trace("Start");
                              var apkExpansionFiles:APKExpansionFiles = new APKExpansionFiles();
                              apkExpansionFiles.addEventListener(APKCompleteEvent.APK_COMPLETE, onComplete);
                              var BASE64_PUBLIC_KEY:String = "your_public_Key";
                              var outputDir:String = "/Android/data/"; // the outpout folder
                              var mainVersion:String = "1302000"; // the version of the APK that the file was uploaded
                              var mainSize:String = "10639971"; // the length of the file in bytes
                              var mainUnzip:Boolean = true; // unzip the file
                              //var patchVersion:String=”1000024″; // the version of the APK that the file was uploaded
                              //var patchSize:String=”14923834″; // the length of the file in bytes
                              //var patchUnzip:Boolean=true; // unzip the file
                              apkExpansionFiles.expansionFilesDelivered(BASE64_PUBLIC_KEY, mainVersion, mainSize, mainUnzip, outputDir); // only main obb file
                              //apkExpansionFiles.expansionFilesDelivered(BASE64_PUBLIC_KEY, mainVersion, mainSize, mainUnzip, outputDir, patchVersion, patchSize, patchUnzip); // main and patch obb files
                    private function onComplete(e:APKCompleteEvent):void
                              Console.Trace("onComplete");
                              for (var key:Object in e.params)
                                        Console.Trace("Key : " + key + ", Value : " + e.params[key]);
                              var conteneurImage:Loader = new Loader();
                              var fileName:String = e.params.outputDirMain + "asset/2048-2.png";
                              Console.Trace("File name = " + fileName);
                              var file:File = new File(fileName); // the outpout Main folder
                              Console.Trace("File exists? = " + file.exists);
                              //var file:File = new File(e.params.outputDirPatch+”myImage.jpg”);    // the outpout Patch folder
                              var image:URLRequest = new URLRequest(file.url);
                              conteneurImage.load(image);
                              conteneurImage.scaleX = 0.3;
                              conteneurImage.scaleY = 0.3;
                              var secondImageContainer:Loader = new Loader();
                              fileName = e.params.outputDirMain + "asset/2048.png";
                              file = new File(fileName);
                              image = new URLRequest(file.url);
                              secondImageContainer.load(image);
                              secondImageContainer.scaleX = 0.3;
                              secondImageContainer.scaleY = 0.3;
                              secondImageContainer.y = 614;
                              this.addChildAt(conteneurImage, 0);
                              this.addChildAt(secondImageContainer, 1);

Similar Messages

  • How to use expansion files for AIR app (flash cs6) on Google Play Store

    I am currently working on an app that will undoubtedly end up bigger than the maximum size of 50 MB for the APK, and I have no clue how to add files to an expansion pack, how to load expansion pack, what files need to be in expansion pack, or even what an expansion pack does/how it works. If anyone can point me in the right direction, that would be great, I want to make an expansion pack now before I get even more files.

    Haven't had a need to do this for file size purposes but since we can now download and use SWFs with ABC, I just specify my external SWFs when I compile and once my app is run it downloads the SWFs (with a pretty preloader) before the user can do anything. I have my own servers so I believe that's all that Amazon Bucket is actually used for. That user didn't have their own web servers to serve up the SWF content from.
    Aside that, check the answer here. Google will turn any extra files uploaded for your app into OBB for you. You just upload the SWF:
    Create expansion file for AS3 android Air App Flash cs6 - Stack Overflow
    It also outlines if you need to upload multiple files then .zip them up and use an AS3 .zip library to extract the files.

  • I am trying to free up space on my hard drive. I am wondering what if any of the itunes files for apps or music can be deleted without affecting the use of them in the future if they are loaded on my i phone and i pad 2?

    When I search my hard drive to find space for freeing up memory I have a lot of files for Apps, and music.  I am wondering if these are pertinant and need to be kept on my hard drive, or if I can remove them in any way.
    Any help would be appreciated.
    Thanks

    I am going to revise my question to this.  If I compress my itunes folder which would save me a considerable amount of space will this make the music and apps information stored in there unsyncable? 

  • How to create logs in to diff files for apps deploy on same OC4J instance?

    I am using OC4J 10.1.3.5 App server on Windows. I have deployed 2 web applications on the same instance of OC4J where I have defined the shared library. Both applications use Struts, Spring, iBatis, apache commons libraries which I have defined as a shared library. Part of the apache loggins library I had to add log4j jar as well. So indirectly log4j-12.16.jar is declared as a shared-lib as well.
    I have log4j.properties for both application pointing to different log file. But still when both applications are deployed and running, the logs are getting populated on only one file. During the deployment, I did check on webapp-classpath-first="true" setting to explicitly have log4j.properties of each individual application being load first. But nothing makes difference.
    Please help.
    Thanks
    Jasmin

    Jasmin,
    Dependent on where the log4j library is installed it will use either one or separate configuration files. Placed in WEB-INF/lib then the log4j logger is initialized separately for the applications using separate configuration files. This is not the case when the log4j library is placed under home/applib.
    regards,
    Bernhard Jongejan
    http://bernhardjongejan.spaces.live.com

  • How do I work around large AIR Installer file for app updates?

    I develop AIR apps which often come with many included files (pdf, doc, swf, images, etc).  These get quite large, Total Air installer size measured in Gigs.   Distribution is via DVD.  Currently I create sub-folders under my project and place the assets.  Works fine.
    The rub comes when I want to issue program updates.  The AIR update process would be great if I could just update my main program swf, but what I'm finding is that even if I'm doing a minor code update I still have to create this same multi-gigabyte AIR installer.
    If I were using a Visual Studio installer I'd just include some sort of run-once that would copy all the assets after the installer completed.  Then when building an update it would skip the 'copy all' part...but I can't see any way to do something similar with the AIR installer.
    So, to summarize, I'd like to be able to issue updates to my main AIR SWF without including all the assets again.  Any thoughts?
    Thanks in advance,
    Greg.

    No, I don't have any recommendations. You would need to sign up for the AIR redistribution program. When you do this you gain access to some tools that help the process. http://www.adobe.com/products/air/runtime_distribution1.html
    The only warning is that you will have to create an installer for each of your target platforms (unless you find an installer product that is also cross-platform, of course).

  • Why is my app size increasing (facebook). Is there a way to clear temp files for apps?

    Is there any solution for this, as i have iPhone 4 8GB.
    Any apps to clear temp files killing my space ?

    Hey priyankarzana,
    First, try deleting the app and redownloading:
    Remove the app from your device and reinstall it:
    Tap and hold any app icon on the Home Screen until the icons start to wiggle and show a small "x" in the top-right corner of the app.
    Tap the "x" in the corner of the app you want to delete.
    Tap Delete to remove the app and all of its data from your device.
    Press the Home button.
    Go to the App Store.
    Search for the app and then download it again.
    via: iOS: Troubleshooting apps purchased from the App Store
    http://support.apple.com/kb/TS1702
    You can also try to restore from an iCloud backup to see if that helps. You can read about how to do that here:
    iOS: How to back up and restore your content
    http://support.apple.com/kb/HT1766
    Cheers,
    Delgadoh

  • AppData Files for Adobe over large

    Windows 7 Professional
    hard drive C is 256 GB - it is a solid state drive.
    The AppData folder is 101 GB  under "Users/Stephen/AppData/Roaming/Adobe" is 96 GB in the Adobe folder alone. This is excessive. It has used up my hard drive and needs to be cleaned out. I can no longer run Creative Cloud.  How do I empty it of the excess stuff?
    I have found the offending folder under Adobe/Common/Media Cache Files.  How do I clear all these files out. Some are audio files. Some are video related files.  I do 4 videos of 30 to 40 minutes a week. I attach a separate audio to the video. It is HD stuff. I use Premere Pro and Audition for this stuff. It includes IMS, CFA, PEK, PRMDC, MPGINDEX, Files.  Why do I need duplicate files on this C: hard drive of what I keep on my other hard drives to keep this hard drive free for programs and all the Cloud stuff? There has to be a way to clean this stuff out.

    John:
    Thank you for your reply! It gave me some ideas for a work around.
    Yet the links you gave does not address the fundamental problem.
    I had already changed to a second drive as you suggested for my temporary files while setting up my project. I learned that a while back.  That worked in that I would have had another 90 TB of used space moved off of C: drive. But this does not solve why so much space is ALSO being used on the C: drive. I find no work around for this.  Is it a bug that needs to be reported.  How does someone who has a small laptop have a chance? I did go into the directory mentioned above and delete all of last year's work, but this is not proper software control. The C: drive problem should take care of itself or have a button to use to make all of this space usage to go away.
    Does Adobe read posts like this?
    Again, THANKS.

  • Delete file from app server

    hi, i am running a background job in bw and for that created a file on the application server.now how do i delete that file.to create the file i just gave the name in the bw and the file got created.i am not able to find how to delete it.
    or
    rather than deleting the file how can we delete the data it is containing.please do let me know

    hi,
    but using DELETE DATASET u can remove file for app server.
    If u want to delete the data alone then give the same name without data it will overwrite.
    U can check it in AL11.
    regards
    md zubair sha
    U can also use the function module - EPS_DELETE_FILE
    Message was edited by:
            md zubair sha

  • HT1766 I purchased two apps for my iPhone and every time I try to install them on my phone I keep getting a message saying that the file is over 50MB and I need to connect to wi-fi or use iTunes on my computer to download. How do I do that?

    I just got an iPhone 4 and have been downloading apps from the iTunes store when I encountered difficulty with two specific apps. Each time I try to download dictionary and star walk I get a message saying they are over 50MB and I need to be connected to iTunes to download, which I've tried to no avail. I also thought that when I sign into iTunes on my PC that it would automatically show that my iPhone device is connected (just like it does with my iPod) but it doesn't show the phone icon. I am not sure iTunes is recognizing my phone. Any help you can offer is greatly appreciated.

    Can you connect to a wifi source on the device? Enable wifi in settings on the device itself. If you don't have wifi at home, there may be a local hotspot you can use for this.
    The reason this happens is carriers don't want people downloading huge files that would slow their network as well as eat up your data plan.

  • Where to download the android APK for the byDesign mobile app.

    I need the apk to install it on my Blackberry Z30. where can I dowbnload the apk ?
    Thanks for any hints.

    Hi Marcus,
    At least for CFTE solution the Blackberry Z30 is not clearly described as supported. Please look into “3.2.5 Mobile Apps Operating Systems” section in the Master Guide:
    https://websmp106.sap-ag.de/~sapidb/011000358700000299502014E/MG_ODT_110_FINAL.pdf
    For ByD solution I found this document. Please look into “7.2 Mobile Apps” section. Here the Z30 is not described as supported as well – only Curve and Bold devices:
    http://help.sap.com/saphelp_byd1405/en/ktp/Products/96e54f70e7b2450895d71966b531edf7/Publishing/Guides/SecurityGuide.pdf
    It might explain why you don’t have all features available in Z30.
    Regards,
    Cristiano Rosa

  • AS3 AIR accessing Android expansion file

    Hello, I have AS3/AIR application for deploying on Google Play. The app has an expansion file attached to it. Expansion file is named "main.1000000.air.com.mycompany.myapp12.obb" and it is downloaded along with the app properly.
    The problem is I cannot access the file with any way I tried, like:
    File.applicationStorageDirectory.resolvePath('Android/obb/main.1000000.air.com.mycompany.myapp12.obb');
    File.applicationStorageDirectory.resolvePath('/Android/obb/main.1000000.air.com.mycompany.myapp12.obb');
    File.applicationStorageDirectory.resolvePath('main.1000000.air.com.mycompany.myapp12.obb');
    File.applicationStorageDirectory.resolvePath('/main.1000000.air.com.mycompany.myapp12.obb');
    or simillar, and I cannot access the file even when the path while developing on Windows seems to be right. When deployed, I just got the "not found" error in my catch block with the supplied File url property: "app-storage:/Android/obb/main.1000000.air.com.mycompany.myapp12.obb". I have been looking for the solution and trying various approaches for several days, but I am stucked. Please help. Developed on ASUS EEE PAD.

    I have same problem on my Nexus 7(2012) Android Lillipop
    The Aplication can't see the obb file after install - it can find it only after device system reload
    but I can see it on such directorys
    storage/sdcard0/Android/obb/
    storage/emulated/legacy/Android/obb/
    storage/emulated/0/Android/obb/
    so why aplication can't find it ?

  • Is there any difference in an android .apk file developed with flex/flash?

    Is there any difference in an android .apk file developed with flash compared to one developed with flex?
    I just made a test application and the textinput reaction time is way too slow. I used Flash to build it.

    Thank for the response.
    What I actually wanted know though was if there is a difference between an android app developed with falsh cs5 compared to an app developed with flash builder 4.

  • Suddenly cant install any android apk files to Z10

    Dear all, i need help with my new Z10 which I have about one week.
    I installed some apk files via amazon store or directly from sites. I also installed some applications using Apk Extractor on my second android device and simply moved apk files via bluetooth to my BB Z10.
    Everything was fine until yesterday. 
    But suddenly I cant install any android apk files. All apk files are grayed and system reports
    " unable to open xxxx.apk file ".
    Same problem when im trying to install any apps from amazon, or snap.
    I did not apply any system update last week.  I rebooted device several times. Also my  " other sources " settings is ON.
    my SV is 10.2.1.3062
    Any idea please ?   thanks a lot
    (sorry for my english,im not a native speaker)

    I have come across this on another forum but I dont have any idea how to do this? Can someone help please?
    So resolve this TIME consuming problem, i had another look at that support page and this is what i did to fix it Thank you for your help 99jon for the link.
    Copied the elements folder to the root of the HD, then renamed the folder with the installer files contained within to c:\PSElements9Installer then ran the setup.exe as administrator and hey presto, it worked and fully completed the install grrrrr.
    Cheers people of the Digital World, ive now relieved my stress
    Was this helpful?Yes  NoSubmit
    Reply

    Mark as:
        1 posts
    11-Apr-2013
    Currently Being Moderated
    3. TangAdmin,
    11-Apr-2013 17:04   in reply to Digital Controller
    Report
        Had the same problem with PSE10 Copying it to kthe root of c and renaming it to PSElements10Installer Worked perfectly.  
    thanks to all involved
    Was this helpful?Yes  No

  • How do I download an app that is over 50mb via itunes on my computer with a app store card that has already been redeemed

    I was trying to download plants vs zombies on my iphone but it wouldnt let me saying that the app was over 50mb and that you needed to install it using itunes on your computer. So I tried to do the same thing on my computer by using my app store card to cover the purchase but as the code had already been redeemed it wouldnt let me. Can I get the app using my already reddemed app store card or is that not possible? I will be very grateful for any suggestions or help!

    If you have already purchased it on your iphone, and it simply wasn't able to download, then open itunes on your computer and click Store>Check for Available Downloads

  • How to set iPad Mini to download files over 50MB?

    I am downloading GarageBand to the iPad Mini and it says I need to connect using Wi-Fi to download files over 50MB, the question is why do I need to connect to a Wi-Fi Station? I have an unlimited LTE connection, what am I paying it for if I need to connect to a Wi-Fi to download files?

    You can try using a MiFi.
    http://en.wikipedia.org/wiki/MiFi

Maybe you are looking for

  • Create a timeline in numbers

    I wonder if anyone knows of a template for creating a time-line in Numbers? I am at present evaluating a timeline app, (Aeon Timeline) but it is not perfect for what I want to do and if someone had produced a Numbers timeline it would at least give m

  • Keyboard backlight on rMBP not automatically illuminating, what's wrong?

    Setting is on, used to work, but no longer does How can I fix this? Ignore- fixed turned setting off, rebooted turned it on , rebooted fixed.

  • Statistical condition type is not showing same value

    Dear All, I have one issue related with pricing condition that i want to use one statistical condition type ZEM1 suppose 100 INR which is entered manually at the contract level for suppose 10 qty but when i am creating the First sales order for 5 qty

  • Sequence of length 27

    Hi All, I am trying to generate sequence of length 27 but when I tried to select the nextval it displays as IE26. Please let me know how to display the actual value Below is the format I have tried to generate the sequence CREATE SEQUENCE UNIQUEDOCID

  • Itunes plays automatically when bluetooth speaker connected

    Whenever I turn on my Ravon Gem bluetooth speaker, it starts playing whatever is selected in iTunes. This even happens if there is a rented movie selected. A couple of times this has happened when I wasn't ready to start watching the movie yet. It do