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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
yyzTim
Posts: 304
Registered: ‎04-30-2008
Accepted Solution

ALX file settings

I  am trying to set up an ALX file that will handle an application with 3 builds.  There is a build for 4.5 devices, a build for all devices 4.6 and up and a build that is only for the Torch.  I have a working ALX that covers the first 2 builds but my question is:

 

If I have an ALX with the following three fileset tags in my ALX and I have a Torch 9800:

<fileset Java="1.49" _blackberryVersion="[4.5.0,4.5.1)">
<fileset Java="1.49" _blackberryVersion="[4.6,)">
<fileset Java="1.49" series="9800">

 

will it install the 9800 version or the 4.6 and up version (or some other result)?  Basically I am looking for the precendence order of tags (device or OS first) or if there is a negative indicator that would allow me to say 4.6 and up EXCEPT 9800 or maybe it is the fileset first in the sequence that meets the conditions.  Any suggestions welcome for best way to accomplish this.  In the future I will merge the touch functionality into a general 5 and up build based on a conditional functionality check but for now it I need it to work as is.

 

 

Question2: Can the description tag be moved down into the fileset so that I can have a slightly different description for each build?

 

Thanks!

 

Tim

 

Please use plain text.
Developer
dmazgalin
Posts: 92
Registered: ‎01-15-2009

Re: ALX file settings

Hi. Please try to read this article from Developers Knowledge Base

 

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800708/800651/How_To_...

 

The correct series attribute for Blackberry Devices you can find here (for normal installations )

 

C:\Program Files\Common Files\Research In Motion\AppLoader\Device.xml

Hope it helps.

Regards, Dmitry.

Please use plain text.
Developer
yyzTim
Posts: 304
Registered: ‎04-30-2008

Re: ALX file settings

I had looked at the kbase article in advance along with a couple others but they didn't specifically answer my questions.  The device.xml was not something I had looked at before and it was very interesting to review.  In the end I did some testing and realized that the Torch specific build actually worked fine with any type of device at 5.0 and above so I alterred the ALX to have the second build handle 4.6 to below 5 and the third build to handle 5 and up, which is much simpler.

 

Tim

Please use plain text.