FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

How to run a cod file, generated through Netbeans, on a real Blackberry device?

 
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users
View previous topic :: View next topic  
Author Message
konkimalla



Joined: 10 Nov 2008
Posts: 8

PostPosted: Wed Jan 14, 2009 8:54 pm    Post subject: How to run a cod file, generated through Netbeans, on a real Blackberry device? Reply with quote

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
View user's profile Send private message
konkimalla



Joined: 10 Nov 2008
Posts: 8

PostPosted: Fri Jan 16, 2009 5:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB