hi.
am i the only one making big apps here, where "big" stands for "larger than 50 MB"?
i hope not.
as probably all of you know, android apps to be published on google store can't be larger than 50 MB. for bigger apps, google lets developers to load in the store as many expansion packs as needed (2 GB max size each), hosted by G for free.
http://developer.android.com/google/pla ... files.html
it would be very nice if LC took care of this limitation, giving us a help while compiling the android app.
this way, for example:
1.
while compiling, by segmenting the app in 1 main .apk file and as many .obb (or simple zip) files as needed (that's the way twixl publisher does, for example)
2.
coding side: by introducing a new specialFolder path to allow developers to recall the assets in code
<shared-storage>/Android/obb/<package-name>/
<shared-storage> is the path to the shared storage space, available from getExternalStorageDirectory()
3.
browsing side: by teaching the engine how to read from .obb files (as LC already does, after all, an apk beeing nothing but a zipped archive: see LC dictionary for "specialFolderPath": "An Android application is installed on the phone in the form of its zip package. This means that any assets that are included are not available as discrete files in the native filesystem. In order to manage this the engine essentially 'virtualizes' the asset files you include, allowing (read-only) manipulation with all the standard LiveCode file and folder handling syntax. To access the assets you have included within your application, use filenames relative to specialFolderPath ("engine")")
it would be a very big help for developers, in my opinion.
and easy to implement, or i'm totally wrong?
ANDROID: APK & OBB expansion management
Moderator: Klaus
Re: ANDROID: APK & OBB expansion management
Any news ?
[...]
I filled a request on the LiveCode Quality Control Center with your post (my english is too bad !)
http://quality.runrev.com/show_bug.cgi?id=15346
[...]
I filled a request on the LiveCode Quality Control Center with your post (my english is too bad !)
http://quality.runrev.com/show_bug.cgi?id=15346
Re: ANDROID: APK & OBB expansion management
Yes you are right about this limitation and it would be good to implement. In the mean time my workaround for this was to a have a server and download the content I needed separately rather than using the OBB expansion.
-
- Posts: 280
- Joined: Fri Jan 09, 2015 6:15 pm
Re: ANDROID: APK & OBB expansion management
Count me in...We had to also do a full Web Service just because LC can't send a 50 MB database on Android. This is not difficult to program.
--Todd
--Todd