12-06-2010 03:29 PM
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?
Solved! Go to Solution.
12-07-2010 01:19 AM
Hi. Please try to read this article from Developers Knowledge Base
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.
12-07-2010 11:13 AM
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.