

In some cases, however, your application must download the files from Google Play when your application starts. On most devices, Google Play downloads the expansion file(s) at the same time it downloads the APK, so your application has everything it needs when the user opens it for the first time. The expansion files are saved to the device’s shared storage location (the SD card or USB-mountable partition also known as the “external” storage) where your app can access them. Google Play hosts the expansion files for your application and serves them to the device at no cost to you. In some of the older devices, we have to write our own application logic to download the files from Google Play. On newer devices, Google Play downloads the expansion files at the same time it downloads the apk, so your application has everything it needs when your user opens it for the first time. The expansion files are stored to the device’s shared storage location where your app can access them.


Google Play allows you to add two large expansion files to a maximum of 2GB for each file. Expansion FilesĮxpansion files are simply files/folders in archived format(.obb to be precise). And to cater such applications Google provides the flexibility to add Expansion Files. However, some apps may need more space for high-fidelity graphics, media files or other large assets.

So the best approach should be to keep the apk as small as possible. As every MB counts when the user is downloading your app. Every resource matters, you should not add a single resource that is not required. And this is something that every developer should keep in mind while developing. We all know that we cannot make an Android apk that’s more than 100MB. C2 is allowing us to set the paths to those 2 folders which contain the majority of game assets, this basically means that we would need some sort of "APK expansion creator" which imports those two folders and provides us the paths to those folders.Īgain, those are just speculations and I don't know much about the whole APK expansion process.How to Set Up Android App to Support Expansion Files If the mentioned way above isn't possible, we could also do a workaround by having the media and texture files on the expansion and run the game itself as usual over the default APK. Inside the expansion and let the browser runtime itself (which is inside the default APK) load the content from the expansion? I personally don't know much about the tech behind APK expansions but I assume that it could be possible to store all C2 files Would it be possible for the XDK team to provide us Construct 2 Dev's a simple tool to create an APK expansion file? Xmnboy I believe you work for Intel and are in contact with the XDK team, I'd like to request a statement about this.
