External zip file for photos
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
External zip file for photos
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?
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
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
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
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: External zip file for photos
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.
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.
-
- VIP Livecode Opensource Backer
- Posts: 3901
- Joined: Sat Mar 24, 2007 2:54 am
- Location: Palo Alto
Re: External zip file for photos
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
I'd go with downloading and storing them in the documents folder.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: External zip file for photos
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.
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.
-
- VIP Livecode Opensource Backer
- Posts: 3901
- Joined: Sat Mar 24, 2007 2:54 am
- Location: Palo Alto
Re: External zip file for photos
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
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
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: External zip file for photos
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.
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.
-
- Livecode Opensource Backer
- Posts: 28
- Joined: Sat Mar 14, 2009 3:17 am
- Location: Olympia, WA USA
Re: External zip file for photos
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.
27" iMac, OS X 10.13
iPad 3, iPad Pro, iPhone 4s, iPhone 6, LG Optimus L9 phone, Samsung Galaxy Camera
LiveCode 8.1.9
iPad 3, iPad Pro, iPhone 4s, iPhone 6, LG Optimus L9 phone, Samsung Galaxy Camera
LiveCode 8.1.9