PDA

View Full Version : J2ME Programming



Mehrius
17-07-2003, 05:33 PM
I know this forum is basically designed for more hardware based programming (flashing) but maybe a new category for Java Programming can be opened.....

I myself am a beginner at java programming but I already gathered some knowledge about mobile applications programming and would not mind sharing this information with other beginners or learn from guru's...

I am interested in java programming for the 40's series. (anything about it from what tools to use to programming techniques)...

bobl
17-07-2003, 06:43 PM
I see what position you're comming from; java programming is quite an interesting thing, but I think you'll find that most people here don't really do that sort of thing.

The "Forum Nokia" will have a lot of stuff for you, maybe you should become a member there as well and participate there :)

Cheers

Bob

Mehrius
17-07-2003, 09:03 PM
Well I thought this will be the answer...

Thanks for replying anyway.

mrpeet
18-07-2003, 12:08 PM
Hy!
I'm in the same problem!
I think I have all the programmes from Forum Nokia and SUN, but I dont know how to start the developeing!
If you can halp me how to start the programming, please help!

james_hettfield
18-07-2003, 08:21 PM
dudes... this is a really really really simple statement about generating midlets:

*write the code into notepad and save the file regarding the java-class-rule
*compile it (javac.exe)
*run the nokia developer suite
*"create application package"
*load the .class file(s)
create jar and jad files...

if it wont work:
*did the javac-compiler quited without error???
*are alle paths in the nokia developer suite correct?

and another tip:
on forum nokia there is a pdf containing 2 samples for series40 color-programming... TRY THEM BOTH OUT BY TYPING IT YOURSELF!!!! DO NOT COPY&PASTE THE CODE!!!

have fun programming midlets...
j.

Mehrius
18-07-2003, 10:38 PM
Post here the software u are using... Maybe u're missing a piece..

As for the two nokia examples ... don't seem to find them...
(maybe a direct link if u can spare the time...)

Thnks for repling anyway.:D

james_hettfield
19-07-2003, 12:28 PM
i'm not missing anything... i'm producing midlets since one year...
everything works fine for me...

im gonna make a list of tips&hints and a software list...
perhaps the post will be on today

james_hettfield
19-07-2003, 03:00 PM
tools i recommend to use:
*writing source: standard notepad.exe from windows-dir
*compiling source: java2 Simple Ed. SDK (AKA j2se v.1.4.x SDK) from java.sun.com
*creating midlets: nokia developer suite 2 (AKA nds_jme_v2_9) from www.forum.nokia.com

the pdf with two examples:
Brief_Introduction_to_MIDP_Programming_v1_0.pdf
i do not post the link, because you have to register (free) to nokia-forum
go to www.forum.nokia.com -> on the right go to "Documents" and then nearly at the end
of "Java Documents" you'll find "Brief Introduction to MIDP Programming"

read through and type the two examples in your notepad, save regarding java-class-rules and compile
with javac

start nds and create new package, load the .class file(s), check cfg and options and create you midlet.
start datasuite and load your app to the phone...

if you still hang --> www.forum.nokia.com -> Documents
or www.google.com
at last ask me...

regards, j.

Mehrius
19-07-2003, 03:36 PM
i figured u didn't miss any files and i see why u use notepad ...no need for further explaining

thanks for the nokia forum file ....

the reply was for mrpeet who said he didn't get something...

thanks

Alinus
19-07-2003, 03:59 PM
moved to propper forum :)

Salami1_1
19-07-2003, 04:19 PM
Also a very good tool is CodeWarrior..
(codewarrior Studio 7 FULL with license)
If you subscribe to motorola Developers (free) you can (or maybe now could downlaod it.. it was time limited action)
It's all togethers (all needed programs etc 228 mb)
I will be uploading this to programmer section at my site soon. (DON't go asking for login it's not free!; no this is NOT salespost just to inform)

WBR