I have 7 modules in my application. In order for all of them to use the permissions set by the first module that runs (the startup module) I understand that they all need to be in a group. When installed OTA or with the Desktop Manager (from an ALX) they are all placed in a group, but when I use the javaloader and name each cod file, they are not in a group.
How can I get the javaloader to create and put the modules into a group?
Too bad that guy didn't address his own suggestion of creating a group in his code and putting his modules in there, since that is on my "to-try" list.
Thanks for the suggestion. The problem with using a JAD file is the need to make the JAD file, which requires the SHA and Size of each module. I'm assuming the JAD that the javaloader wants is the full JAD that is needed for over-the-air installation. In addition, for OTA, for large modules, the 64K limited "sub" modules need to be specified.
I have a program that generates this for OTA installation, but I'm not sure if it would be the same for the javaloader.
Do you happen to know what needs to be in the JAD for the Javaloader?
Also, the Javaloader claims to be able to take a Manifest file, but I can not find any documentation on what needs to be in that file.
Finally, do you know if putting code in the application to put the modules into a group, if they are not already in a group, would satisfy the problem with permissions?
No, the compiler generates individual JAD files - that is, a JAD file is generated for each COD. But when an application is composed of many CODs you need a composite JAD file - one JAD file that defines all of the modules. It is not just a matter of copying all of the individual JADs into one big JAD.