Page 1 of 1
External zip file for photos
Posted: Tue Aug 13, 2013 6:13 pm
by jessamy99
Dear Ender and team,
I have built an app for iphone, and am now ready to complete the build for Android.
I tried to upload the app to the Google play store, but I got the error that it was too large.
So, the photos need to be uploaded in a separate zip file.
Has anyone done this, and if so, please could you give me a simple step by step on how to do it.
I have uploaded another smaller app successfully, so there is no problem in that respect.
I always appreciate how helpful you guys are.
Thanking you in advance,
Jessamy.
PS. Do the old soldiers like myself who already bought LiveCode before open source get "Veteran" by our names?

Re: External zip file for photos
Posted: Thu Aug 15, 2013 9:53 am
by Mark
Hi,
You might want to download the photos as the user watches them. Add a circular progress indicator to your interface, which indicates that the photos are being downloaded. Save the photos in the documents folder on the device. This way, the user only needs to wait a short time once for each photo.
Only those who work with xTalk languages since before 1987 get the predicate "veteran"
Mark
Re: External zip file for photos
Posted: Sun Aug 18, 2013 8:24 pm
by jessamy99
Thankyou Mark!
I might try that.
At the moment I am still working on an expansion media file which is copied to the device.
It probably ends up the same.
I will post any success I have with the expansion file.
All the best,
Jessamy.
Re: External zip file for photos
Posted: Sun Aug 18, 2013 9:11 pm
by Simon
Zipping an image file probably wont save you much space. jpg png are already compressed

I'd go with downloading and storing them in the documents folder.
Simon
Re: External zip file for photos
Posted: Fri Aug 23, 2013 3:14 pm
by jessamy99
Thankyou Simon.
Do you know whether I have to sign my photo folder with keytool, or can I just make it into an obb file with the jobb.bat tool?
Best wishes,
Jessamy.
Re: External zip file for photos
Posted: Fri Aug 23, 2013 6:11 pm
by Simon
I haven't seen a direct request for keytool signing.
Have you tested that LC can decode a obb file? They will take just plain zip files.
And have you optimized your images? Over 50 MB is a lot for a mobile device.
This is the fish thing right? How many images do you have?
Simon
Re: External zip file for photos
Posted: Sat Aug 24, 2013 12:21 am
by jessamy99
Dear Simon,
I have 189 images.
I have built the app with LiveCode and it runs beautifully on iphone, ipad, windows and mac.
My difficulty is just finding out how to upload the photo folder as an external to Google play store, for Android.
I am sure there is a way.
I have solved the keystore, and signed the main program.
I have zipaligned it successfully.
But, although I have found out how to work the jobb.bat tool, I am having difficulty uploading the photo folder.
There was no problem in uploading version 1, and then uploading version 2, which gave me the option of adding an expansion file.
That is as far as I have got!!
I hope to solve this in the next few days.
If you have any good ideas I would really appreciate them.
All the best,
Jessamy.
Update...
Dear Simon and Mark,
I have solved the problem by using jpgs instead of pngs.
This has made my program much smaller and I will not need an expansion file.
Thankyou for your support!
With best wishes,
Jessamy.
Re: External zip file for photos
Posted: Tue May 06, 2014 8:41 pm
by JackD
Has anyone had success with loading an expansion file? I am trying to port an iOS app that has 1200 pictures and there is no way to get it below the 50 MB limit. I had not realized this was a problem until today.
