09-14-2010 10:58 AM
Installing large apps over the internet is troublesome. Just too test locally I "unpacked" the large cod-file and extracted the 8 small cod files inside and listed all files in order in the alx-file and then did an install with the Desktop Manager. Install worked, App seems to work. The only difference is that when setting permissions the first cod-file showed up as the application and the following 7 was listed under "Library". That is not to bad except that when setting permissions it has to be set for all library modules too. At least that seems to be necessary. Is there a way to avoid this "Library" listing for all subsequent cod-files?
Solved! Go to Solution.
09-14-2010 11:03 AM
using the desktop manager is usually not "over internet". no need to extract cods for the alx/cod.
09-14-2010 11:28 AM
I was only testing the concept of putting the sibling files in the ALX instead of the "zip"-file. The "real life" scenario for our customers is installation over the internet and that is a bit troublesome with that large cod-file. (zip-file). And it seemed to work except for the listing under "library" when setting permissions.
09-14-2010 11:33 AM
use a jad file then.
09-14-2010 12:34 PM
Create an application that takes care of the heavy downloading.
The user will download the small app from your site and the app will download the separate modules from the web. Then let the app put the separate modules together on the device.
09-14-2010 01:02 PM
The big file is an existing Midlet. Cant do much about it.
I just realized that I should use a JAD file in that case. Can Sibling segments be specified in the JAD-file instead of the big "zip"-file? That could be a way to slice the big file to a size that is acceptable.
I am struggling with an "Installer". Got it working reasonably well on the simulator downloading the midlet in chunks. Do it in real life and choosing the right method (wifi,wap) is a different story. Yes. I am reading Peter S. thread on the subject. Excellent thread. Quite a lot to digest.
09-14-2010 05:28 PM
"Can Sibling segments be specified in the JAD-file instead of the big "zip"-file?"
Yes, that is in fact how I always do it. The Jad file generated by thr JDe actually lists the separate sibling files anyway, so the is no jad creation involved too.
"Excellent thread. Quite a lot to digest."
Thanks - and yes, quite a lot.