| Reply | « Previous Thread | Next Thread » |
|
Join Date: Oct 2006
Posts: 2,536
Location: Helsinki, Finland
Offline
Forum Nokia Champion
|
|
Am total newbie to java and its relatives :(. Have previous experience in Symbian C++.
Past two days I have been trying to get my 'helloworld' I installed many things (pretty much everything that is there I guess) and tried to read many docs..pretty random as am totally lost in this new (to me) technology. I have Carbide.j 1.5(which shows that it works only standalone). Got SDK 3rd edition MIDP. Also have installed Java Wireless toolkit 2.5 for CLDC, Java2 SDK SE..Eclipse Release 3.1.2 and what not. Since I am so confused, each doc I get my hands on, tells me to read something, which inturn tells me to install something :( I would appreciate if somebody showed a single focussed path to me...would really be great help..Want to develop helloworld in Mobile Java!! 2 days lost and not even hello world..thats pathetic :( Hope somebody hears me Neil - Neil R.Bhasme -
Last edited by Symbian_Neil : 2007-02-20 at 14:18.
|
|
Start with the command line (only the WTK is necessary for that) and work your way up from there. IMHO, once you know how to do things from the command line it's easier to figure out the more user friendly tools.
Quote:
shmoove |
|
May be this doc could be of some help to you.
Setting Up Your Development Environment http://sonusdream.blogspot.com/2006/...velopment.html Hope this helps! Regards Gopal __________________ MobiQuil.com An initiative by Developers for Developers. http://www.mobiquil.com - Alpha - Launched. |
|
Join Date: Aug 2006
Posts: 486
Location: Rawalpindi, Pakistan
nicenouman
Offline
Regular Contributor
|
|
hi Symbian_Neil
well since u have spent lot of time in ur helloworld code so here is something which will help u a lot. import javax.microedition.midlet.MIDlet; import javax.microedition.lcdui.Display; import javax.microedition.lcdui.Form; /** * Simple class that display "Hello World" on the device's * Display. */ public class SimpleMidlet extends MIDlet { /** * The display to add a form to */ protected Display display; /** * Called when the application starts */ protected void startApp() { // create a simple form to add items to Form form = new Form("Simple MIDlet"); // write some text into the form form.append("Hello World Test Two!"); // get the current display display = Display.getDisplay(this); // add the form to the display display.setCurrent(form); } /** * Not used */ public void pauseApp() {} /** * Not used */ protected void destroyApp(boolean unconditional) {} } yes its a helloworld program which will help u see what u were doing wrong in your code. hope this helps Regards Nouman |
| nicenouman |
| View Public Profile |
| Find all posts by nicenouman |
|
Join Date: Oct 2006
Posts: 2,536
Location: Helsinki, Finland
Offline
Forum Nokia Champion
|
|
|
Thanks a ton for very quickly sorting out my issue. Finally I see my first MIDlet working!!
Quote:
@ Gopal : The link was extremely helpful for a step by step setup of environment right from the very basics :) @nicenouman : Thanks for the code. Given such wide variety of approaches, I just thought of focussing on one. I followed Gopals link and could successfully set up the whole thing. Thanks once again for the wonderful support. Cheers Neil :) - Neil R.Bhasme - |
|
You are always welcome.. We are happy to help you as much as we can.
Keep it going dude! J2ME is not so tough too.. I have already posted several links to start developing with J2ME. Please give a search in the Discussion Boards. Regards Gopal __________________ MobiQuil.com An initiative by Developers for Developers. http://www.mobiquil.com - Alpha - Launched. |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| newbie: IP address of device using j2me | fm | Mobile Java Tools & SDKs | 6 | 2007-01-05 12:09 |
| Newbie - recommended Java config for developing J2ME apps | pkiddie | Mobile Java Tools & SDKs | 1 | 2006-11-28 02:15 |
| newbie question, which SDK to use for J2ME on 6820 model | sacg | Mobile Java Tools & SDKs | 0 | 2005-01-05 07:27 |
| MMS using J2ME - Expert advice needed for newbie | mc123 | Mobile Java General | 0 | 2003-05-12 20:15 |
| J2ME newbie question | luisgonsalves | Mobile Java General | 1 | 2002-08-04 06:08 |