Hi vicious,
To learn successful Java Mobile Edition, time is needed!
You must be cool (having a correct plan for when learning what), permanently optimize your learn - method and improve your overall understanding of Java Technology.
Java Technology is a fine organized structure, build up of many (sub) technologies like
?Java Programming language
?Java SE, Java ME, Java SE platforms
?Those, common to Java platforms like JXTA, ?.
Generally - based on my own experience - to learn Java ME:
You must: have a solid understanding of Java Programming language and be familiar with Java Standard Edition (having some experiences with its APIs, specially those APIs re-used in Java ME, even modified to meet the requirements of mobile devices)
Also to start:
1.Setup correctly your development environment (IDE and other needed tools).
I can only recommend the NetBeans 5.0, NetBeans Mobility Pack 5.0 and Sun Wireless Toolkit (first WTK 2.3 later 2.5 Beta). Note that correct choice and professional use of development tools is very important for a beginner.
You need time to know each of these feature-rich software enough good!
NetBeans IDE, Mobility Pack and Sun WTK are at SDN available for your free downloading!
You have also to download Java SE SDK (JDK 5.0) and install it first, than install NetBeans IDE and finally the Mobility Pack.
Note, that Mobility Pack is the embedded WTK into NetBeans IDE. But I recommend you to install WTK (after JDK5.0-installation) and work with it for a while. This will speed up your learn process!
2.After you setup your development environment, start the learning of Java programming language by use of NetBeans IDE and through development of simple applications, targeting Java SE platform.
There are several sample applications (incl. source code) in the IDE integrated and ready to use.
You need time to learn Java language (it抯 a powerful means) and know the Java SE (it抯 extensive, but at beginning reduce it to subset of APIs common to Java SE and ME for example APIs, located in packages as lang, util and io)
3.When you feel you are enough familiar with Java language and Java SE platform, you can use WTK to learn about Java ME.
WTK has many interesting sample MIDP-applications. It抯 recommended to be focused on samples and APIs related to CLDC-MIDP runtime execution environment. Without solid understanding of CLDC-MIDP you will never become a good mobile Java software developer. To my eyes, that抯 the most important part of your Java ME - learning process.
After you become familiar with CLDC-MIDP APIs, use other sample applications of WTK, relating to Java ME optional packages (OPs). There are many OPs in Java ME, all interesting but I recommend starting with Wireless Messaging API (WMA) , Mobile Media API (MMAPI) and Java Bluetooth API (JBTAPI), because they are supported by almost mobile phones.
Now you may go to use Mobility Pack of NetBeans IDE to develop your own Java Mobile applications. It抯 widely similar to WTK!
Note also: On SDN-site, there are a lot of professional learning materials about all 3 Java Platforms (SE, EE, ME). At Java ME Site under Technical Tips and Articles you will find additional sources of excellent quality, helping you to become a good Java ME developer fast and without unnecessary overhead
I didn抰 mention some details, which are not very important for you at this stage.
It抯 better to learn about Java technology daily and in team, if possible (together with other interested individuals)
So I hope, given you the right direction, to join soon the Java mobility, the top of software industry.
I love Java ME, its elegance and enjoy to see and understand - led by Sun Microsystems & partners - how it change the world of computing direction freedom and fairness in this-today-world.
There is a lot of work for everybody there!
bye,
Asghar
Great,
but: I downloaded : Netbeans IDE, mobile pack, WTK.
I allready had the JAVA jdk1.6.0
When I want to: import javax.microedition.midlet.*;
Netbeans says: package javax.microedition.midlet.*; does not exist.
SO, what I do now ?
I never downloaded NetBeans before, I always work with Textpad,
but I saw a guy work with Netbeans and it looked nice, so I decided to try it.
I have tried eclipse before, but I got a headache from that. Netbeans looks friendly. BUT I hate it when things dont work and I dont know why.
:(