Save data into a JAD file:NetBeans IDE 6.8 J2ME Development Guide
I'm new to J2ME and NetBeans(Basically,i'm .net developer).I want to develop an application for S40(Nokia 6300).Simple one -Mobile Diary.
[U]What i did[/U]
1)Downloaded and installed
JDK,JRE related file(JAVA)
S40_SDK_3rd_Edition
Java_ME_Developers_Library_v3_3_en
NetBeansIDE 6.8
SDK S40
[U]2)What I want to know[/U]
1)In NETBEANS Mobile Application Develop environment,for what they are
using "Flow"?Where i have to start?is it in VisualMIDlet?I could see
assigned commands link.Here,i want to connect command with
button.But,button is not available.Have any chance to get any tutorial
for Netbeans J2ME environment? :confused:
2)How we can connect our program to JAD?
3)How i can write my text to JAD file
4)Whether it stored in JAD,have any option to search content?
Thanks in advance
:)
Re: Save data into a JAD file:NetBeans IDE 6.8 J2ME Development Guide
Hi!
I can see you have a nice collection to start with there, so you might
want to extend it with the following material:
There is a Java Developer's Library within our Web Developer's Library.
You can find it behind this link:
[URL="http://www.forum.nokia.com/info/sw.nokia.com/id/fd9cc12e-5eed-40ec-a439-c77f845fed73/Web_Developers_Library.html"]http://www.forum.nokia.com/info/sw.nokia.com/id/fd9cc12e-5eed-40ec-a439-c77f845fed73/Web_Developers_Library.html[/URL]
It can be either downloaded or viewed online.
It's a good place to start with Midlet development on Nokia devices,
containing both Eclipse and NetBeans IDE's.
For especially the NetBeans environment, there is an excellent wiki
article that will give an overview of the features of NetBeans for
creating mobile Java™ applications and also provides a simple
introduction to creating a mobile Java application.
Link to the article is here:
[URL="http://wiki.forum.nokia.com/index.php/NetBeans"]http://wiki.forum.nokia.com/index.php/NetBeans[/URL]
I also suggest the NetBeans website tutorials and documentation provided
here:
[URL="http://netbeans.org/kb/trails/mobility.htm"]http://netbeans.org/kb/trails/mobility.htm[/URL]
What comes to the JAD file, it is automatically created with the project.
You can find it in the project file directory.
Example:
C:\USERS\NetBeansProjects\mymidlet\dist
There would be the following files:
\lib (subdir)
mymidlet.jad
mymidlet.jar
Example contents for mymidlet.jad:
MIDlet-1: Midlet, , Midlet
MIDlet-Jar-Size: 4239
MIDlet-Jar-URL: mymidlet.jar
MIDlet-Name: mymidlet
MIDlet-Vendor: Vendor
MIDlet-Version: 1.0
MicroEdition-Configuration: CLDC-1.1
MicroEdition-Profile: MIDP-2.0
This file is editable by any text editor.
The Flow Designer part of the NetBeans IDE is a graphical, high-level representation
of the application's flow - the relationships between the different screens in the MIDlet,
including the state transitions that start and stop the MIDlet. The NetBeans IDE generates
most of the code for you, so it's a very simple and convenient way to develop the
application's user interface.
This and more should be explained in more detail behind the linked material, as it is not
simply possible to go thru it in just one post...
Please let me know if you need help in creating your application. You can also contact
me via private messaging or send me and e-mail to [EMAIL="marko.lumivuori@nokia.com"]marko.lumivuori@nokia.com[/EMAIL]
Hope this helps!
Best Regards,