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

Java Development

Reply
Regular Contributor
Posts: 77
Registered: ‎02-17-2010
My Device: Not Specified

Re: Install app in device

[ Edited ]

Great !!!

 

finally got solution.

 

i unzipped my cod file ,listed all cod files in alx and everything is working fine.. able to upload through DTM

 

 

 thanks to peter for his timely help and thanks all !!

 

Am sure most of them are facing this problem..

 

procedure followed :

I am targetting OS 5.0 and above so my  _blackberryVersion parameter chaged to

_blackberryVersion="[5.0.0,)

 

removed directory parameter

<directory >
                5.0.0
            </directory>

 

unzip cod file and list all cod files in alx file ( double click on .cod file , u wil get list of cod files )

 

<files >
				TestApp.cod
				TestApp-1.cod
				TestApp-2.cod
				TestApp-3.cod
				TestApp-4.cod
				TestApp-5.cod
									

			</files>

 

Here is my final working alx parameters

 

<loader version="1.0">
	<application id="TestApp">
		<name >
			Test App
		</name>
		<description >
			Testing App
		</description>
		<version >
			1.0.0
		</version>
		<vendor >
			blackberry developer
		</vendor>
		<copyright >
			Copyright (c) 2011 developer
		</copyright>
		<fileset Java="1.49" _blackberryVersion="[5.0.0,)">
			
			<files >
				TestApp.cod
				TestApp-1.cod
				TestApp-2.cod
				TestApp-3.cod
				TestApp-4.cod
				TestApp-5.cod
									

			</files>

		</fileset>

	</application>

</loader>

 

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Install app in device

Interesting.  That should not be needed, but you can't knock it since it works!  What level of DTM are you using and what device? 

Regular Contributor
Posts: 77
Registered: ‎02-17-2010
My Device: Not Specified

Re: Install app in device

[ Edited ]

Hi ,

DTM version is 6.1.0.36 latest one..(released nov 7,2011 bundle 38 ) device curve 9360 with OS 7.0.

is my solution is wrong ?? am i doing in wrong way.. please let me know.. i dont want to upload in hack way.. Smiley Happy

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Install app in device

There is nothing wrong with the solution you have found.  Just in theory, you should not need to do it.  DTM should be able to take the zipped up cod file and install that.  It will unzip it to do so, so you are saving it the bother, that is all!

 

Your method works, I would stick with it.