04-14-2010 12:36 AM
I have two application one listener application as module and one main application. i don’t want to install both the application separately, Is there any way by which i can install both the application using one jad file.
04-14-2010 01:13 AM - edited 04-14-2010 01:15 AM
There is an UpdateJad tool provided with every plugin component pack and JDE install.
This tool combines necessary jad files into 1 JAD file so you can deploy more than one COD.
Usage: updatejad.exe -q -n <input.jad> [<additional.jad> ... -q Quiet mode -n No backup file <input.jad> File to be updated <additional.jad> Other attributes to be added to input.jad
04-14-2010 01:43 AM
suppose you have
sample1.jad sample1.cod and
sample2.jad and sample2.cod
then to make sample1.jad to contain sample2.jad so that it can be used to install both the CODs.Do as follow:
updatejad.exe sample1.jad sample2.jad
04-26-2010 01:54 AM
I have got one problem with this approach on removing the app only one module gets removed.
Other module is still remaining there. That you have to remove again manually.
Does anybody have solution to this problem?
04-26-2010 04:25 AM
When I install an application using a jad, and the application has multiple cods, when I remove that application again all associated cods are removed.
I suggest that you get your test device back into a state when it has NO versions of either cod or application on it and try the test again. I suspect you had a hangover reference to the module as a result of a previous installation which is why it was not deleted.
04-26-2010 06:01 AM
Hi Peter,Thanks for your suggestions.
I tried as you said making sure none of the versions is there.
But still of the two modules(CODs) one is removed and other is left there.
That other module(COD) I have marked as a System module, so that its not visible on homescreen while using it, my first COD is using the scond one at some point during its operations.
But problem is that I install the app and uninstall it even without launching it once. It still leaves this other module which i marked as System module there, which i have to delete manually.
Can you lead me somewhere with this weird problem?
Thanks in advance.
07-05-2010 12:17 PM
Strangely i ran into the same issue for the exact scenario.
I have 2 cods, one is system module background app and other is normal app with UI.
I updated them like: UpdateJad.exe -n backgroundApp.jad normalApp.jad and downloaded backgroundApp.jad over the air.
All went well but the same problem, i un-installed normalApp which i can see in downloads folder, the backgroundApp still remains in the Applications under Options even after re-starting the device.
Found any solution?
Could you please share it?
07-08-2010 01:19 PM - edited 07-08-2010 01:36 PM
Any chance of seeing the jad you are using?
Are you installing using the jad OTA or via javaloader?
Thanks Peter, atlast someone heard!
My jad link http://www.4shared.com/file/5cxDXHwx/UIApp.html (names faked)
I am installing it OTA.
These points may give you a better picture
1. My UIApp is of big size so i extracted(using bb-ant-tool's jadtool tag) the sibling cod files.
2. BackGround applation is of type 'Application' and its a SystemModule with autostart property
3. I moved all UIApp cods, jad files and BGApp cod, jad to bin folder of JDE
4. Executed, UpdateJad.exe UIApp.jad BGApp.jad
5. downloaded UIApp.jad OTA
After download, BGApp imeediatly started and connected to server.
I removed UIApp from downloads menu. But under Options -> Advanced Options -> Applications -> UIApp is still exists even i re-started the device after un-installation.
If i directly un-installs UIApp from Options -> Advanced Options -> Applications both got un-installed.
I tried the reverse procedure even
UpdateJad.exe BGApp.jad UIApp.jad
and downloaded BGApp.jad OTA
I removed UIApp from downloads menu. But under Options -> Advanced Options -> Applications -> BGApp is still exists even i re-started the device after un-installation.
I am not very familiar with BB as this is my first project.
Please correct me if doing anything wrong.