Paid Job: Need Someone To Help Me Get My 100MB App Onto Android App Store Possible Using The Method Inside...

Hi guys. The Google Play apk max file size is 50MB. My file is just over 100MB so I can’t upload it. Apparently you can do this using APK Expansion files. With corona this isn’t currently supported apparently, but there may be a work around in this thread:

http://developer.coronalabs.com/forum/2012/03/13/tar-module-extract-tar-files-corona?destination=

I still can’t get my head around this though, so I’m looking to hire someone who will be able to do this for me. If you know how to do this please let me know and we can talk about a possible job. Thanks. [import]uid: 187132 topic_id: 34151 reply_id: 334151[/import]

I can’t help you with your specific request, but I can offer some suggestions on how to get your app down to 50MB.

  1. Dither your PNGs. This will slightly reduce quality, but dithered PNGs are often around 5 times smaller than non-dithered ones. You can also run them through ImageOptim for an additional 5-10% savings (With no quality loss).

  2. Compress your audio files if they are in WAV format. For android you should compress them to OGG format. There’s a good free tool for OSX called MAX that you can use to do this. OGG files will be around 20x smaller than their WAV equivalents.

  3. Remove iPad-HD assets from the Android version of your application if you have them. If you’re using ImageScaling and your largest images are targeting the iPad3/4, then this resolution is likely much higher than you need even for the highest resolution Android devices. [import]uid: 135827 topic_id: 34151 reply_id: 135812[/import]

+1 to pretty much everything george18 said.

I’d also like to add that, for me, the biggest culprit for oversized file sizes and texture memory were full-sized backgrounds and such. Not sure if you’ve already done this, or if your graphical style would even allow it, but I shaved huge amounts by creatively tiling any sort of repetitive element. It was a tad bit tedious but I’m glad I did it. [import]uid: 136211 topic_id: 34151 reply_id: 135816[/import]

Thanks a lot for taking the time to reply George, and thanks for the suggestions. The thing I forgot to mention though is that this is a video based app. I’ve already sized the videos to 480x800 and encoded them at 264h I think it was (Not very good with the technical terms with video), so not sure if there’s any more I can do with regards to saving space without noticeably effecting the quality of the videos. And I can’t leave half of the videos out of the app.

If anyone has any suggestions I’ll be open to hearing them, or if anyone can do it for me we’ll talk about a job. Need this done asap. Thanks again George, I’ll look and see if I can reduce the file sizes any more. Will look into that ogg format. [import]uid: 187132 topic_id: 34151 reply_id: 135817[/import]

I was working on something a while ago which would have been much bigger than the app store allows.

I setup an amazon cloud service to host the files, you may need an unlimited bandwidth host though and have the app download the videos on first run. [import]uid: 5354 topic_id: 34151 reply_id: 135820[/import]

“tar” stands for “tape archive”, it’s the Unix standard way of packaging files together into a single file. From the Mac OSX command line you would at the folder above the folder you want to pack together enter the command:

tar -cvf yourarchive.tar foldername/

Then you can move that tar file around as a single file then unpack it later with the:

tar -xvf yourarchive.tar

Ideally what you packed will be the same when you unpack it (files, filenames, permissions etc.). Within Corona, you could build these “tar-balls” as they are know in Unix lingo and upload it to your server. Then using the network.download() API call, download this to your system.TemporaryDirectory or system.CachesDirectory and use the library mentioned in the thread to then unpack the file where ever you downloaded it. The examples are pretty good. The version that’s downloaded does not support the system.CachesDirectory, so I had make a small change on my local copy.

Hopefully this will help. [import]uid: 199310 topic_id: 34151 reply_id: 135839[/import]

Thanks for all the help guys, it’s really appreciated.

Rob, would you be willing to do this job for me? Like I said I’m still new to Corona coding, and while in a few months what you said may not be that hard for me to do, right now it’s just going over my head. And I need this app up asap, so I’m willing to pay you to do it for me if you’re interested?

If so let me know and I’ll give you my contact details. Thanks.

By the way, all the coding so far has been done on a PC. I don’t think that’d effect Mac users helping out?

Anyone that can do this for me please let me know asap. [import]uid: 187132 topic_id: 34151 reply_id: 135866[/import]

@s.n.r
We implemented loading of .tar files from Amazon S3 server. If you may use such server or already has yours I could help to reduce the size of you application and implement the loading and unpacking in it.
Please, email me: contact AT sungiftgames.com [import]uid: 9058 topic_id: 34151 reply_id: 135874[/import]

Thanks Andriy, I’ve sent you a email. [import]uid: 187132 topic_id: 34151 reply_id: 135879[/import]

Hopefully someone in the community can help you with this. We do offer a for-pay support product, though I’m not sure completing your code is included.

http://www.coronalabs.com/products/support-training/

[import]uid: 199310 topic_id: 34151 reply_id: 135960[/import]

I can’t help you with your specific request, but I can offer some suggestions on how to get your app down to 50MB.

  1. Dither your PNGs. This will slightly reduce quality, but dithered PNGs are often around 5 times smaller than non-dithered ones. You can also run them through ImageOptim for an additional 5-10% savings (With no quality loss).

  2. Compress your audio files if they are in WAV format. For android you should compress them to OGG format. There’s a good free tool for OSX called MAX that you can use to do this. OGG files will be around 20x smaller than their WAV equivalents.

  3. Remove iPad-HD assets from the Android version of your application if you have them. If you’re using ImageScaling and your largest images are targeting the iPad3/4, then this resolution is likely much higher than you need even for the highest resolution Android devices. [import]uid: 135827 topic_id: 34151 reply_id: 135812[/import]

+1 to pretty much everything george18 said.

I’d also like to add that, for me, the biggest culprit for oversized file sizes and texture memory were full-sized backgrounds and such. Not sure if you’ve already done this, or if your graphical style would even allow it, but I shaved huge amounts by creatively tiling any sort of repetitive element. It was a tad bit tedious but I’m glad I did it. [import]uid: 136211 topic_id: 34151 reply_id: 135816[/import]

Thanks a lot for taking the time to reply George, and thanks for the suggestions. The thing I forgot to mention though is that this is a video based app. I’ve already sized the videos to 480x800 and encoded them at 264h I think it was (Not very good with the technical terms with video), so not sure if there’s any more I can do with regards to saving space without noticeably effecting the quality of the videos. And I can’t leave half of the videos out of the app.

If anyone has any suggestions I’ll be open to hearing them, or if anyone can do it for me we’ll talk about a job. Need this done asap. Thanks again George, I’ll look and see if I can reduce the file sizes any more. Will look into that ogg format. [import]uid: 187132 topic_id: 34151 reply_id: 135817[/import]

I was working on something a while ago which would have been much bigger than the app store allows.

I setup an amazon cloud service to host the files, you may need an unlimited bandwidth host though and have the app download the videos on first run. [import]uid: 5354 topic_id: 34151 reply_id: 135820[/import]

“tar” stands for “tape archive”, it’s the Unix standard way of packaging files together into a single file. From the Mac OSX command line you would at the folder above the folder you want to pack together enter the command:

tar -cvf yourarchive.tar foldername/

Then you can move that tar file around as a single file then unpack it later with the:

tar -xvf yourarchive.tar

Ideally what you packed will be the same when you unpack it (files, filenames, permissions etc.). Within Corona, you could build these “tar-balls” as they are know in Unix lingo and upload it to your server. Then using the network.download() API call, download this to your system.TemporaryDirectory or system.CachesDirectory and use the library mentioned in the thread to then unpack the file where ever you downloaded it. The examples are pretty good. The version that’s downloaded does not support the system.CachesDirectory, so I had make a small change on my local copy.

Hopefully this will help. [import]uid: 199310 topic_id: 34151 reply_id: 135839[/import]

Thanks for all the help guys, it’s really appreciated.

Rob, would you be willing to do this job for me? Like I said I’m still new to Corona coding, and while in a few months what you said may not be that hard for me to do, right now it’s just going over my head. And I need this app up asap, so I’m willing to pay you to do it for me if you’re interested?

If so let me know and I’ll give you my contact details. Thanks.

By the way, all the coding so far has been done on a PC. I don’t think that’d effect Mac users helping out?

Anyone that can do this for me please let me know asap. [import]uid: 187132 topic_id: 34151 reply_id: 135866[/import]

@s.n.r
We implemented loading of .tar files from Amazon S3 server. If you may use such server or already has yours I could help to reduce the size of you application and implement the loading and unpacking in it.
Please, email me: contact AT sungiftgames.com [import]uid: 9058 topic_id: 34151 reply_id: 135874[/import]

Thanks Andriy, I’ve sent you a email. [import]uid: 187132 topic_id: 34151 reply_id: 135879[/import]

Hopefully someone in the community can help you with this. We do offer a for-pay support product, though I’m not sure completing your code is included.

http://www.coronalabs.com/products/support-training/

[import]uid: 199310 topic_id: 34151 reply_id: 135960[/import]