| View previous topic :: View next topic |
| Author |
Message |
konkimalla
Joined: 10 Nov 2008 Posts: 8
|
Posted: Wed Jan 14, 2009 8:54 pm Post subject: How to run a cod file, generated through Netbeans, on a real Blackberry device? |
|
|
I am using Netbeans 6.5 and configured it to add a blackberry platform using the following link:
http://www.netbeans.org/kb/55/blackberry.html
The cod file is generated and the app works in Blackberry 9530 (storm) simulator. However, with just the cod file I could not load the app in the real device. The device recognizes only *.alx or *.ali files.
First of all can I load an app using just a cod file? or do I need to follow a different approach to form *.alx or *.ali files.
I would really appreciate any solutions. |
|
| Back to top |
|
 |
konkimalla
Joined: 10 Nov 2008 Posts: 8
|
Posted: Fri Jan 16, 2009 5:24 pm Post subject: |
|
|
I figured out myself. You just need to have a alx file, which is just a loader file. Then you place the alx file and cod file in a folder and using desktop-blackberry connectivity load the alx file and app gets deployed.
The contents of alx file should be like this:
<loader version="1.0">
<application id="name">
<name >
name app
</name>
<description >
</description>
<version >
1.0
</version>
<vendor >
myCompany
</vendor>
<copyright >
Copyright (c) 2007 myCompany
</copyright>
<fileset Java="1.25">
<directory >
</directory>
<files >
name.cod
</files>
</fileset>
</application>
</loader> |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|