Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

BlackBerry® World™ Development

Reply
Regular Contributor
kaushik_saha
Posts: 55
Registered: ‎09-01-2010
My Device: Not Specified
Accepted Solution

How to manage the multiple installer cod files and library cod file together?

I have created a single app which has two different cod files, one for and above 5.0.0 and another one is  for and above 6.0.0. For that I followed guideline given here and created a installer package folder. Here is the folder structure:

 

.\MyApp.alx                                   Alx file describing all file and version details

.\lib.cod                                          library file for both version
.\500_600\Myapp.cod                cod file for and above 5.0.0
.\600_700\Myapp.cod                cod file for and above 6.0.0

 

If I now targeting the alx file my Desktop Software, it is installing proper version. Now I want to submit it in App World. In App World, I failed to upload the .alx file. What I observe that I can upload multiple cod file and mention the min OS version. Do I upload two Myapp.cod files mentioning the minimum OS? How to upload the lib.cod? What should be minimum OS version for that? How to relate them as required library for both version?

 

 

 

 

Please use plain text.
Developer
QuiteSimple
Posts: 1,452
Registered: ‎11-06-2009
My Device: Torch 9810
My Carrier: WiFi

Re: How to manage the multiple installer cod files and library cod file together?

Create a bundle for OS5.0+, specify minimum supported version as 5.0 and upload 500_600\Myapp.cod  and .\lib.cod  

Create another bundle for OS6.0+, specify minimum supported version as 6.0 and upload .\600_700\Myapp.cod and .\lib.cod  

 

AppWorld will do the rest.



"When you become a level 3 developer, you learn to communicate over the ether. I'm told that level 5 developers are ascend into a higher level of existence beyond the physical realm." gord888 @ crackberry
Please use plain text.
Regular Contributor
kaushik_saha
Posts: 55
Registered: ‎09-01-2010
My Device: Not Specified

Re: How to manage the multiple installer cod files and library cod file together?

Is it necessary to enter the "Device Support Details"? I do not want to segregate as the device model. I just want to segregation as per OS version.

Please use plain text.
Developer
QuiteSimple
Posts: 1,452
Registered: ‎11-06-2009
My Device: Torch 9810
My Carrier: WiFi

Re: How to manage the multiple installer cod files and library cod file together?

Yes, it is, since you start with 0 supported devices by default. Just add all devices as supported for both bundles, in this case you will get segregation based only on OS version.



"When you become a level 3 developer, you learn to communicate over the ether. I'm told that level 5 developers are ascend into a higher level of existence beyond the physical realm." gord888 @ crackberry
Please use plain text.
Regular Contributor
kaushik_saha
Posts: 55
Registered: ‎09-01-2010
My Device: Not Specified

Re: How to manage the multiple installer cod files and library cod file together?

I add the main installer for 5.0.0 and library cod file and then add main installer for 6.0.0 and the same library cod file. It shows like that. In all cases, I have selected the all devices in the list.

 

filelist.PNG

 

When go for "Next', it is showing following error:

 

  • Release 1.0 contains file bundles with conflicts:
  • Lib 6.0.0
  • -> Minimum OS: 6.0.0
  • -> Device Support: 8707v, 8707h, 8707g, 8705g, 8703e, 8700v, 8700r, 8700g, 8700f, 8700c, 8830, 8820, 8800, 8830m, 9000, 9700, 9650, 9780, 9788, 9900, 9930, 9790, 9981, 8900, 8330, 8320, 8310, 8300, 8350i, 8330m, 8520, 8530, 8910, 8980, 9300, 9330, 9360, 9370, 9380, 9350, 8130, 8120, 8110, 8100, 8130m, 9100, 9105, 8220, 8230, 8230f, 9530, 9500, 9520, 9550, 9670, 9800, 9810, 9850, 9860, 9630
  • -> Language Support: All Languages(All Codes)
  • Lib 5.0.0
  • -> Minimum OS: 5.0.0
  • -> Device Support: 8707v, 8707h, 8707g, 8705g, 8703e, 8700v, 8700r, 8700g, 8700f, 8700c, 8830, 8820, 8800, 8830m, 9000, 9700, 9650, 9780, 9788, 9900, 9930, 9790, 9981, 8900, 8330, 8320, 8310, 8300, 8350i, 8330m, 8520, 8530, 8910, 8980, 9300, 9330, 9360, 9370, 9380, 9350, 8130, 8120, 8110, 8100, 8130m, 9100, 9105, 8220, 8230, 8230f, 9530, 9500, 9520, 9550, 9670, 9800, 9810, 9850, 9860, 9630
  • -> Language Support: All Languages(All Codes)
  • Installer 5.0.0
  • -> Minimum OS: 5.0.0
  • -> Device Support: 8707v, 8707h, 8707g, 8705g, 8703e, 8700v, 8700r, 8700g, 8700f, 8700c, 8830, 8820, 8800, 8830m, 9000, 9700, 9650, 9780, 9788, 9900, 9930, 9790, 9981, 8900, 8330, 8320, 8310, 8300, 8350i, 8330m, 8520, 8530, 8910, 8980, 9300, 9330, 9360, 9370, 9380, 9350, 8130, 8120, 8110, 8100, 8130m, 9100, 9105, 8220, 8230, 8230f, 9530, 9500, 9520, 9550, 9670, 9800, 9810, 9850, 9860, 9630
  • -> Language Support: All Languages(All Codes)
  • Installer 6.0.0
  • -> Minimum OS: 6.0.0
  • -> Device Support: 8707v, 8707h, 8707g, 8705g, 8703e, 8700v, 8700r, 8700g, 8700f, 8700c, 8830, 8820, 8800, 8830m, 9000, 9700, 9650, 9780, 9788, 9900, 9930, 9790, 9981, 8900, 8330, 8320, 8310, 8300, 8350i, 8330m, 8520, 8530, 8910, 8980, 9300, 9330, 9360, 9370, 9380, 9350, 8130, 8120, 8110, 8100, 8130m, 9100, 9105, 8220, 8230, 8230f, 9530, 9500, 9520, 9550, 9670, 9800, 9810, 9850, 9860, 9630
  • -> Language Support: All Languages(All Codes)

What is the problem in the file selection?

Please use plain text.
Developer
QuiteSimple
Posts: 1,452
Registered: ‎11-06-2009
My Device: Torch 9810
My Carrier: WiFi

Re: How to manage the multiple installer cod files and library cod file together?

You did it wrong. You have created 4 different bundles, while you need only 2 bundles  - one for OS5.0 and one for OS6.0

 

In the bundle "Installer 5.0.0" you need to add the Lib 5.0 cod files

 

In the bundle "Installer 6.0" you need to add the Lib 6.0 cod files

 

Delete "Lib 5.0" and "Lib 6.0" bundles



"When you become a level 3 developer, you learn to communicate over the ether. I'm told that level 5 developers are ascend into a higher level of existence beyond the physical realm." gord888 @ crackberry
Please use plain text.
Regular Contributor
kaushik_saha
Posts: 55
Registered: ‎09-01-2010
My Device: Not Specified

Re: How to manage the multiple installer cod files and library cod file together?

I am using Blackberry JDE. To add third party jar file, I follow the instructions by RIM iteself and created a separate project and added all the jar files there and declare it as a library and then in the original project, added the library as a project dependency. It worked propery, but a separete cod file was created for the library project. Now, how to make it a single cod file bundle so that I can upload it that pattern?

Please use plain text.
Developer
QuiteSimple
Posts: 1,452
Registered: ‎11-06-2009
My Device: Torch 9810
My Carrier: WiFi

Re: How to manage the multiple installer cod files and library cod file together?

You don't need to have a single cod file. You need to upload one main cod file (your app) and one lib cod file (the library) for the same bundle. AppWorld will install both when user starts to download.


"When you become a level 3 developer, you learn to communicate over the ether. I'm told that level 5 developers are ascend into a higher level of existence beyond the physical realm." gord888 @ crackberry
Please use plain text.
Regular Contributor
kaushik_saha
Posts: 55
Registered: ‎09-01-2010
My Device: Not Specified

Re: How to manage the multiple installer cod files and library cod file together?

Do you mean that I have to zip the main cod file and lib cod file together and add as a single filebundle?

Please use plain text.
Developer
QuiteSimple
Posts: 1,452
Registered: ‎11-06-2009
My Device: Torch 9810
My Carrier: WiFi

Re: How to manage the multiple installer cod files and library cod file together?

No. What I mean is: create the bundle, set OS version support, select device support, upload main.cod file after that click again on Upload button and upload lib.cod file.
Then create the second bundle using the same approach.


"When you become a level 3 developer, you learn to communicate over the ether. I'm told that level 5 developers are ascend into a higher level of existence beyond the physical realm." gord888 @ crackberry
Please use plain text.