OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Using Netbeans To Build Java Apps, In case anyone is interested...
AsLan^
post Dec 28 2006, 06:48 PM
Post #1





Group: Members
Posts: 45
Joined: 3-June 04
From: Seoul, Korea
Member No.: 3,555



Below is my original post that someone might find useful...

But right after finagling with this for hours (and starting this thread), I discovered a very simple way to do it without all these plugins.

Basically my problem stemmed from the fact that I couldn't find a template for an AWT Frame in NetBeans so for some reason I assumed it didn't exist.

It's "hidden" in the "New File" dialog. I was only using the right click "New" which only shows JFrames, bah! laugh.gif

Anyway... you still need to set the Source Level to 1.3

Bah humbug, that was my morning laugh.gif

QUOTE(AsLan^)
This works for me using Windows running on Parallels and running the resultant app on my SL-6000.

Install NetBeans 5.5

Install NetBeans 5.5 Mobility Pack for CDC

Install Nokia Series 80 Platform SDK for Symbian OS, for Java, Personal Profile (download the Personal Profile version as opposed to the MIDP one).

Be sure to register the Nokia platform in NetBeans from the Java Platform Manager menu.

In NetBeans:

Choose New Project.
Select CDC Application.
Select Nokia S80 CDC S80_DP2.0_PP_SDK as your Platform, CDC S80_DP2.0_PP_SDK as your Device, and PP-1.0 as your Profile (these should be default).
Name your project, leave other options as default.

You can now build your app as desired.

I personally find it helpful to include a "Close" button into the interface so you can end the program without having to close the Nokia emulator which take a while to load (at least in Parallels).

To create a jar runnable on the Zaurus:

Right click your project and select Properties.
Select Sources.
Change Source Level to 1.3 (for some reason this doesn't get saved on restarts) and click OK.
Right click your project again.
Select Build Target Bundle.

The resultant jar file will be placed in the target directory of your NetBeans project directory.

Copy that jar file to the Zaurus and run using the command: evm -jar AppName.jar
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st December 2014 - 03:24 AM