You Are Here:

Community: Developer Discussion Boards

#1 Old J2ME Newbie - 2007-02-20, 13:53

Join Date: Oct 2006
Posts: 2,536
Location: Helsinki, Finland
Symbian_Neil's Avatar
Symbian_Neil
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.
Reply With Quote

#2 Old Re: J2ME Newbie - 2007-02-20, 15:42

Join Date: Mar 2003
Posts: 2,280
Location: Israel
shmoove
Offline
Forum Nokia Champion
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:
2 days lost and not even hello world..thats pathetic :(
Make that two weeks and you'll know how I felt when I started out with Symbian ;p

shmoove
Reply With Quote

#3 Old Re: J2ME Newbie - 2007-02-20, 20:30

Join Date: Nov 2003
Posts: 3,641
Location: Bangalore , India
Send a message via Yahoo to balagopalks
balagopalks's Avatar
balagopalks
Offline
Forum Nokia Expert
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.
Reply With Quote

#4 Old Re: J2ME Newbie - 2007-02-21, 07:56

Join Date: Aug 2006
Posts: 486
Location: Rawalpindi, Pakistan
Send a message via MSN to nicenouman
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
Reply With Quote

#5 Old Re: J2ME Newbie - 2007-02-21, 11:06

Join Date: Oct 2006
Posts: 2,536
Location: Helsinki, Finland
Symbian_Neil's Avatar
Symbian_Neil
Offline
Forum Nokia Champion
Thanks a ton for very quickly sorting out my issue. Finally I see my first MIDlet working!!

Quote:
Make that two weeks and you'll know how I felt when I started out with Symbian ;p
@ Shmoove :Very encouraging and nice of you

@ 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 -
Reply With Quote

#6 Old Re: J2ME Newbie - 2007-02-21, 11:33

Join Date: Nov 2003
Posts: 3,641
Location: Bangalore , India
Send a message via Yahoo to balagopalks
balagopalks's Avatar
balagopalks
Offline
Forum Nokia Expert
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 With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
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

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia