IT Community - Software Programming, Web Development and Technical Support

blackberry in netbeans

This is a discussion on blackberry in netbeans within the Blackberry forums, part of the Mobile Software Development category; hi there, I was terribly excited about the prospect of getting unique place for blackberry in this forum...well am ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Development > Mobile Software Development > Blackberry

Register FAQ Members List Calendar Mark Forums Read
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 10-27-2007, 04:25 AM
amansundar amansundar is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 320
amansundar is on a distinguished road
Default blackberry in netbeans

hi there,
I was terribly excited about the prospect of getting unique place for
blackberry in this forum...well am newbie in blackberry development..i thought
of developing through jde..but it was not so as other ide since even latest version consist of all features its no ever compared with ctrl + space in netbeans...so
i need to make develop BB app in netbeans...but i dont know how to start ..
some one please help....
__________________
cheers
Aman

Last edited by amansundar : 10-28-2007 at 09:53 PM.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 10-29-2007, 03:46 AM
S.Vinothkumar S.Vinothkumar is offline
D-Web Genius
 
Join Date: May 2007
Posts: 1,061
S.Vinothkumar is on a distinguished road
Cool Re: blackberry in netbeans

Hi aman,

I think the following link will help you.

S.Vinothkumar: Blackberry Development using Netbeans
__________________
S.VinothkumaR
Behind me is infinite power,
Before me is Endless Possibility,
Around me is Boundless Opportunity,
Why should I fear!
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 10-29-2007, 04:34 AM
amansundar amansundar is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 320
amansundar is on a distinguished road
Default Re: blackberry in netbeans

dude thank you very much...i can now able to do BB app(cldc) in netbeans ...also i can even get the blackberry simulator running in netbeans...but now a new problem arrised. can i debug those application same as other midlet app in netbeans itself ..
__________________
cheers
Aman
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 10-30-2007, 01:25 AM
jeyaprakash.c jeyaprakash.c is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 228
jeyaprakash.c is on a distinguished road
Arrow blackberry in netbeans

I get the error:
Warning!: No definition found for exported static routine: .main(String[])
Any suggestions how to avoid this error?
__________________
thanx n regards
jeyaprakash.c
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 10-30-2007, 03:33 AM
amansundar amansundar is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 320
amansundar is on a distinguished road
Default Re: blackberry in netbeans

i think u may have done some coding error.....so it will be better if you try midlet application first and check out the building and execution process..if everything fine then you have made some problem in your coding only..check it out and let me know the result....
__________________
cheers
Aman
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 10-30-2007, 04:21 AM
jeyaprakash.c jeyaprakash.c is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 228
jeyaprakash.c is on a distinguished road
Arrow Re: blackberry in netbeans

Am creating Default mobile project With helloworld midlet so coding is not a matter!!!!!!
__________________
thanx n regards
jeyaprakash.c
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 10-30-2007, 04:58 AM
jeyaprakash.c jeyaprakash.c is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 228
jeyaprakash.c is on a distinguished road
Arrow Re: blackberry in netbeans

I find the Reason for .main(String[]) warning I do *not* include the "-midlet" option after added this "-midlet " my project compiled successfully but it doesn't create a cod Files i can create manually but my netbeen didnt configure properly Any more suggestions?
__________________
thanx n regards
jeyaprakash.c
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 10-30-2007, 10:51 PM
jeyaprakash.c jeyaprakash.c is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 228
jeyaprakash.c is on a distinguished road
Arrow blackberry in netbeans

Finally i configured Blackberry Jde 4.2.1 with Netbeens 5.5 beta2 succesfully ..it may help you
click here to see my Article
jeyaprakash-Blackberry(RIM)4.2.1 development with netbeans 5.5


i got following Errors while configuring i mentioned that Errors With Solution


Error:1
Quote:
C:\Documents and Settings\Jaya Prakash\MyOwn\hello\build.xml:27: Execute failed: java.io.IOException: Cannot run program "${rim.blackberry.home}\bin\rapc.exe" (in directory "C:\Documents and Settings\Jaya Prakash\MyOwn\hello\dist"): CreateProcess error=2, The system cannot find the file specified
Solution:
i donot declare the Property variables in my build.xml if u got this type of errors add this lines in your Build.xml right before init methods..

Quote:
<property name="rim.blackberry.home" location="C:\Program Files\Research In Motion\BlackBerry JDE 4.2.1" />
<property name="rim.blackberry.emulator" value="8100" />
<property name="rim.blackberry.jdwp.port" value="8000" />

Error:2
Quote:
Application descriptor does not declare any MIDlet. Direct execution is not allowed.
Solution:

Quote:
As we know In midp application we want to add midlet Name in project name>properties>Midlets but Cldc application we want to add our class name
in project properties netbeans shown -some MIDlet class are invalid ...Dont care About this warning...
__________________
thanx n regards
jeyaprakash.c

Last edited by jeyaprakash.c : 10-30-2007 at 11:02 PM.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 10-31-2007, 11:32 PM
amansundar amansundar is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 320
amansundar is on a distinguished road
Default Re: blackberry in netbeans

have you tried debugging BB app in netbeans......
__________________
cheers
Aman

Last edited by amansundar : 11-03-2007 at 01:43 AM.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 10-31-2007, 11:56 PM
jeyaprakash.c jeyaprakash.c is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 228
jeyaprakash.c is on a distinguished road
Arrow blackberry in netbeans

i didnt tried ...did u got any problem?
__________________
thanx n regards
jeyaprakash.c
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 11-01-2007, 12:22 AM
jeyaprakash.c jeyaprakash.c is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 228
jeyaprakash.c is on a distinguished road
Arrow Re: blackberry in netbeans

hi amansundar

did u tried debuging i cant move next step my F7(step into ) key is not worked ??
__________________
thanx n regards
jeyaprakash.c
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 11-01-2007, 06:04 AM
amansundar amansundar is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 320
amansundar is on a distinguished road
Default Re: blackberry in netbeans

I tried to debug the project, the RIM Remote Debug Server starts first , and then the simulator. But my application doesn't stop at any breakpoint I set...i think some more arguments need to pass in build file for getting debug..i dont know the exact reason...
__________________
cheers
Aman
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 11-03-2007, 01:06 AM
amansundar amansundar is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 320
amansundar is on a distinguished road
Default Re: blackberry in netbeans

Quote:
did u tried debuging i cant move next step my F7(step into ) key is not worked ??
just try F8 instead of F7...it may work..and let me know the result....
__________________
cheers
Aman
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 11-04-2007, 09:42 PM
amansundar amansundar is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 320
amansundar is on a distinguished road
Default Re: blackberry in netbeans

hi jeyaprakash
At last debugging through netbeans worked succeesfully..what i made mistake is the formatted build file was only portable in netbeans 5.5 but i was using 5.5 beta 2 ...
__________________
cheers
Aman
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 11-05-2007, 11:13 PM
krishnakumar krishnakumar is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 207
krishnakumar is on a distinguished road
Default Re: blackberry in netbeans

hi aman,
we know it is possible to autostart an application in jde by before building the project we need to go to the project properties and check that the Auto-run on start up is checked.is possible in netbeans??
__________________
Krishnakumar.S
Beware of Everything -that is un true; stick to the Truth shall succeed slowly but steadily
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #16 (permalink)  
Old 11-06-2007, 03:09 AM
amansundar amansundar is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 320
amansundar is on a distinguished road
Default Re: blackberry in netbeans

In the .jad file that gets passed into rapc as an argument, there is a flag you can set to do this:

"RIM-MIDlet-Flags-1:"

The value you give the flag determines its startup behaviour. Right now, for example, I have an application that auto-starts up and is a system module. The value for that is 35. So in my .jad file I have the following line:

"RIM-MIDlet-Flags-1: 35"

The value is different depending on the startup hierarchy position you want your app to be in (1 - 7) and whether you want a system module or not. Experiment a bit and the above should make a bit more sense
__________________
cheers
Aman
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #17 (permalink)  
Old 11-06-2007, 05:20 AM
jeyaprakash.c jeyaprakash.c is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 228
jeyaprakash.c is on a distinguished road
Arrow Re: blackberry in netbeans

yes i configured netbean 5.5 ..debuging works fine ...
__________________
thanx n regards
jeyaprakash.c
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #18 (permalink)  
Old 11-10-2007, 12:25 AM
amansundar amansundar is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 320
amansundar is on a distinguished road
Default Re: blackberry in netbeans

Quote:
we know it is possible to autostart an application in jde by before building the project we need to go to the project properties and check that the Auto-run on start up is checked.is possible in netbeans??
only signed application can be able to autostart while bootup...for more details about signing blackberry application check out following link

BlackBerry Code Signing Tips | Eric Giguere's BlackBerry Developers At Work!
__________________
cheers
Aman
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #19 (permalink)  
Old 11-14-2007, 11:22 PM
saloni srivatsava saloni srivatsava is offline
D-Web Trainee
 
Join Date: Sep 2007
Posts: 16
saloni srivatsava is on a distinguished road
Default Re: blackberry in netbeans

hi guys..
am working in j2me i tried to port my project in blackberry through netbeans.my problem is after building and when i run the project. simulator comes then shows the loading (with the heading "linking java") and goes on for the long time not moving to blackberry desktop screen. the emulator i m using is 7130 ..

Last edited by saloni srivatsava : 02-18-2008 at 08:49 PM.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #20 (permalink)  
Old 11-17-2007, 01:26 AM
S.Vinothkumar S.Vinothkumar is offline
D-Web Genius
 
Join Date: May 2007
Posts: 1,061
S.Vinothkumar is on a distinguished road
Default Re: blackberry in netbeans

it may due to some configuration problem try removing all the blackberry platform in netbeans and configure them again....
__________________
S.VinothkumaR
Behind me is infinite power,
Before me is Endless Possibility,
Around me is Boundless Opportunity,
Why should I fear!
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

LinkBacks (?)
LinkBack to this Thread: http://www.discussweb.com/blackberry/4203-blackberry-netbeans.html
Posted By For Type Date
DiscussWeb IT Community - Technical Support and Technology Discussions This thread Refback 10-30-2007 04:18 AM

Similar Threads
Thread Thread Starter Forum Replies Last Post
Eventinjector in blackberry amansundar Blackberry 12 04-14-2008 12:36 AM
netbeans plugins for editing JSP pages? saravanan Java Server Pages (JSP) 0 03-21-2008 05:07 AM
is there any visual tool or netbeans plugin available to build JAVA BEANS? saravanan Java Server Pages (JSP) 0 03-19-2008 09:08 PM
j2me application in Blackberry amansundar Mobile Software Development 2 12-20-2007 01:22 AM
NetBeans 5.5 - Mobile Development Karpagarajan Java Programming 0 04-06-2007 05:08 AM


All times are GMT -7. The time now is 10:07 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0