Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to extend J2ME in JDeveloper

2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

Today, the editor will share with you how to expand the relevant knowledge points of J2ME in JDeveloper. The content is detailed and the logic is clear. I believe most people still know too much about this knowledge, so share this article for your reference. I hope you can get something after reading this article. Let's take a look at it.

Index directory

ORACLE.com/products/jdev/htdocs/partners/addins/Exchange/j2me/content.html#01 "> Description description

Download and install DOWNLOAD and Installation

Online Walkthrough online Preview XML:namespace prefix = o ns = "urn:schemas-microsoft-com:Office:office" / >

ASPectratio= "t" vgroup extt = "edit" > Java Learning / J2ME/oracle9i%20JDeveloper%20J2ME%20Extension.files/jdev.jpg "src=" file:///C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/msoclip1/01/clip_image001.jpg">

Description description

Oracle9i JDeveloper's J2ME extension provides integration between Jdeveloper and various J2ME-compatible wireless toolkits.

To use this extension, you need to:

1. Install at least one Wireless Toolkit (wireless kit) on your machine

two。 Set the extension in JDeveloper

How it works, how does it work

The purpose of J2ME Extension (J2ME extension) is to provide a seamless connection between existing Wireless Toolkits and Jdeveloper and will also facilitate the integration of any new J2ME compatible toolkits. Jdeveloper will develop J2ME projects like any previous Java project, and will communicate with Wireless Toolkits to provide features that Wireless Toolkits can provide, such as project start-up, run, and debugging.

Installation installation

Download:

The extension jar file for 902 (j2meextension_jar.zip)

The extension jar file for 903 (j2meextension903_jar.zip)

The scripts (bin.zip)

The help file (j2me_jar.zip)

The sources (j2me.zip)

Let's assume that Jdeveloper is already installed in [JDEV_HOME].

1. Extract the j2meextension_jar.zip containing J2MEExtension.jar to [JDEV_HOME] jdevlibext

two。 Extract the text containing the script (bin.zip) to a new folder, but not necessarily in the [JDEV_HOME] directory tree.

Extract the contents of the file containing help (j2me_jar.zip) to [JDEV_HOME] jdevdocohj

Edit the file name of [JDEV_HOME] jdevdocohjhelpbooks.properties, and increase the entry file Book.NumFiles by 1. Note that it is 1 larger than the value of FileName at the end of the file.

# Book.NumFiles = 56

Book.NumFiles = 57

Add an entry to the J2ME help jar at the end:

Book.FileName.56 = j2me.jar

3. If Jdeveloper is currently running, please exit first.

4. Start Jdeveloper.

J2ME Wireless Toolkits

Many providers now offer J2ME Wireless Toolkits to help develop J2ME applications. Any J2ME toolkit can be integrated into Jdeveloper through this extension. Toolkits that can be integrated include the following:

Sun

Sprint

Nokia

The communication between JDeveloper and Wireless Toolkit will be resolved by script. Jdeveloper needs to locate a specific directory for each toolkit on your system, with three scripts whose names cannot be changed:

MakeMIDlet

Used to publish the MIDlet suite that produces jar and jad files

RunMIDlet

Used to run the previously released MIDlet suite in the simulator

DebugMIDlet

Used to debug the previously released MIDlet suite in the simulator

As mentioned earlier, Jdeveloper supports any J2ME-compatible wireless development kit. The following section describes how you can integrate Jdeveloper and Sun wireless development kits. You can also follow these steps to integrate Jdeveloper and other J2ME development kits

Install Wireless Toolkit for Sun and integrate with Jdeveloper

Download J2ME Wireless Toolkit from Sun's website

Toolkits can be installed in any path (like D:wtk104). This path will be pointed to when setting the extension.

The process of integrating with Jdeveloper is very simple. The following viewlet provides detailed steps to set up the J2ME extension. This is an one-time operation that takes only a few minutes.

_ Javascript:openViewlet ('config.vp/Config_viewlet.html',859620) "> Configure the Extension setting extension

Online Walkthrough online Preview

Once the extension is successfully set, the following viewlet allows you to experience its different features.

Generate a MIDlet Skeleton builds a MIDlet framework

Build the deployment profile establishes and publishes profile

Deploy the MIDlet Suite launches MIDlet Suite

Run the MIDlet Suite runs the MIDlet suite

Debug the MIDlet Suite Debug MIDlet Suite

These are all the contents of the article "how to expand J2ME in JDeveloper". Thank you for reading! I believe you will gain a lot after reading this article. The editor will update different knowledge for you every day. If you want to learn more knowledge, please pay attention to the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report