在你的JDeveloper里扩展J2ME

来源:互联网 发布:acrobat 2018 for mac 编辑:程序博客网 时间:2024/05/16 05:46
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 728x15, 创建于 08-4-23MSDN */google_ad_slot = "3624277373";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 160x600, 创建于 08-4-23MSDN */google_ad_slot = "4367022601";google_ad_width = 160;google_ad_height = 600;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>

在你的JDeveloper里扩展J2ME

Index目录

  • ME/content.html#01">DescriptionMEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">描述  
  • ME/content.html#02">Download and Installation MEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">下载和安装
  • ME/content.html#03">Online Walkthrough MEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">在线预览MEspace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

MEspace prefix = v ns = "urn:schemas-microsoft-com:vml" />ME" type="#_x0000_t75">ME/Oracle9i%20JDeveloper%20J2ME%20Extension.files/jdev.jpg" src="file:///C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/msoclip1/01/clip_image001.jpg">

Description描述

Oracle9i JDeveloperMEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">的J2MEMEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">扩展提供了JdeveloperMEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">和各种各样的J2MEMEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">兼容无线工具包之间的整合。
MEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">要使用这个扩展,你需要:

1.MEs New Roman'">       MEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">在你的机器安装至少一个Wireless ToolkitMEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">(无线工具包)

2.MEs New Roman'">       MEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">在JDeveloperMEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">里设置扩展

How it works它是如何工作的

J2ME ExtensionMEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">(J2ME MEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">扩展)的目的是要提供一个已有的Wireless ToolkitsMEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">和JdeveloperMEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">之间的无缝连接,也将促进任何新的J2MEMEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">兼容工具包的整和。JdeveloperMEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">将会像以前开发任何的JavaMEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">项目一样开发J2MEMEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">项目,而且会通过与Wireless ToolkitsMEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">沟通,从而提供Wireless ToolkitsMEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">可以提供的特性,像项目发步,运行和调试等操作。

Installation安装

MEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">下载:

  • ME/j2MEextension_jar.zip">The extension jar file for 902(j2MEextension_jar.zip)
  • ME/j2MEextension903_jar.zip">The extension jar file for 903(j2MEextension903_jar.zip)
  • ME/bin.zip">The scripts (bin.zip)
  • ME/j2ME_jar.zip">The help file (j2ME_jar.zip)
  • ME/j2ME.zip">The sources (j2ME.zip)

MEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">我们假设JdeveloperMEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">已经安装在[JDEV_HOME]MEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">。

1.MEs New Roman'">       MEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">把包含J2MEExtension.jarMEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">的j2MEextension_jar.zipMEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">解压到[JDEV_HOME]jdevlibext

2.MEs New Roman'">       MEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">把包含脚本(bin.zip)MEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">的文解压到一个新的文件夹,但不一定要在[JDEV_HOME]MEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">目录树内。

·MEs New Roman'">               MEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">把包含帮助(j2ME_jar.zip)MEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">的文件内容解压到[JDEV_HOME]jdevdocohj

·MEs New Roman'">               MEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">编辑[JDEV_HOME]jdevdocohjhelpbooks.propertiesMEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">的文件名,入口文件Book.NumFilesMEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">以1MEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">增加。注意要比在文件末尾的FileNaMEMEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">的数值大1MEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">。

·MEs New Roman'">                #Book.NumFiles    = 56
·MEs New Roman'">                Book.NumFiles    = 57

MEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">在后面为J2ME help jarMEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">加一个入口:

Book.FileNaME.56 = j2ME.jar
 

3.MEs New Roman'">    如果Jdeveloper当前正在运行,请先退出.

4.MEs New Roman'">    启动Jdeveloper.

J2ME Wireless Toolkits

现在很多提供商提供J2ME Wireless Toolkits以帮助开发J2ME 应用程序。任何的J2ME 工具包都可以通过这个扩展被整合到Jdeveloper.其中可以被整合的工具包包括以下的:

  • Sun
  • Sprint
  • Nokia

JDeveloper 和 Wireless Toolkit之间的通信会通过脚本来解决. Jdeveloper需要在你的系统里为每一个工具包定位一个特定的目录,拥有3项名字不能改变的脚本:

MEs New Roman'; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
  •  

makeMIDlet

MEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">用来发布产生jarMEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">和jad MEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">文件的MIDletMEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">套件

MEs New Roman'; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
  •  

runMIDlet

MEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">用来在模拟器运行先前发布的MIDletMEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">套件

MEs New Roman'; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
  •  

debugMIDlet

MEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">用来在模拟器调试先前发布的MIDletMEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">套件

MEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">像先前提到的,JdeveloperMEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">支持任何J2MEMEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">兼容无线开发包。以下部分讲述你可以如何整合JdeveloperMEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">和SunMEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">的无线开发包。你也可以按照这些步骤指引整合JdeveloperMEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">和其他的J2MEMEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">开发工具包

安装Sun的 Wireless Toolkit,与Jdeveloper整合

  • MEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">从MEwtoolkit/">SunMEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">的网站下载J2ME Wireless Toolkit
  • MEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">可以在任何路径安装工具包(像D:WTK104MEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">)。这个路径将会在设置扩展时被指向。

Jdeveloper整合的过程非常简单.以下viewlet提供详细的步骤以设置J2ME扩展.这是个只需要几分钟时间的一次性操作.

Online Walkthrough在线预览

一旦扩展成功设置,下列viewlet可以让你体验它的不同特性.

  • Generate a MIDlet Skeleton MEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">构建一个MIDletMEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'; text-underline: none">框架
  • MEntprofile.vp/DeployMEntProfile_viewlet.html',859,620)">Build the deployMEnt profile MEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">建立发布profile
  • Deploy the MIDlet Suite MEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">发布MIDletMEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'; text-underline: none">套件
  • Run the MIDlet Suite  MEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">运行MIDletMEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'; text-underline: none">套件
  • Debug the MIDlet Suite  MEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'">调试MIDletMEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'; text-underline: none">套件

MEs New Roman'; mso-hansi-font-family: 'TiMEs New Roman'; mso-bidi-font-size: 12.0pt; mso-font-kerning: 1.0pt; text-underline: none; mso-bidi-font-family: 'TiMEs New Roman'; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">原文:MEs New Roman'; TEXT-DECORATION: none; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; text-underline: none; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">ME/content.html">http://otn.oracle.com/products/jdev/htdocs/partners/addins/exchange/j2ME/content.html

MEs New Roman'; TEXT-DECORATION: none; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; text-underline: none; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"> 

<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 728x15, 创建于 08-4-23MSDN */google_ad_slot = "3624277373";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 160x600, 创建于 08-4-23MSDN */google_ad_slot = "4367022601";google_ad_width = 160;google_ad_height = 600;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
原创粉丝点击