SUN J2ME 技术区Q?http://java.sun.com/j2me/
中国JAVA 手机|:http://www.cnjm.net/
NOKIA 论坛 Q?a >http://www.forum.nokia.com
Ud开发者论坛: http://mobisoft.cn/bbs/
中文Ud开发者博客:http://mobisoft.cn/blog/
嵌入开发网Q?a >http://www.embed.com.cn
J2ME POLISHQ?a >http://www.j2mepolish.org
火狐下蝲中心Q?http://down.skyhu.com/
J2ME 开发网: http://www.j2medev.com/
A huge repository of MIDlets and the chance to make your game publicly available: http://midlet.org
Nice resource with mixed info on J2mE : http://www.billday.com/j2me/
Mobile game review site, see what games are around and how they rate: http://www.midlet-review.com
Excellent collection of commercial games : http://games.macrospace.com
Agood resource for J2ME related news, tutorials and articles : http://www.microjava.com
IGN's wireless gaming section : http://wireless.ign.com
All the info you will need to get started with Brew : http://www.qualcomm.com/brew
List of devices and device specs : http://www.kobjects.org/devicedb
Another detailed list of java devices : http://wireless.java.sun.com/device/
Easy to use publicly available fixed point library for J2ME :
http://home.rochester.rr.com/ohommes/MathFP/
Motorola's developer site: http://www.motocoder.com
The biggest mophun resource around : http://www.mophun.com
Trackback: http://tb.donews.net/TrackBack.aspx?PostId=304592
Trackback: http://tb.blog.csdn.net/TrackBack.aspx?PostId=1178720
他的license分ؓ几种收费cd:GPL的,single的,企业?/font>
那么我们做商业开发是否能用它呢?能否使用GPL的license?是否必须购买商业版本呢?
j2mepolish的license在这里:
http://www.j2mepolish.org/licenses.html
1.如果在项目中使用GPL licenseQ则可以无限制的使用Q前提是你的目必须遵@GPL?/p>
2.Commercial LicensesQ商业许可证Q?/p>
分ؓQDeveloper Seat、Single License、Runtime License、Enterprise License
Ҏ功能Qhg一
Why do I need a commercial license?
我ؓ何需要一个商业许可证Q?/p>
The GNU GPL license requires you to publish your completely source code solely under the GNU GPL again. That's why the alternative commercial licenses exist.
GNU GPL许可证要求你在GNU GPL下,独立的完全公开你的源代码。这是Z么会存在两种单独的商业许可证?/p>
Trackback: http://tb.blog.csdn.net/TrackBack.aspx?PostId=1203988
本教E用的CZE序是流行的 J2ME 游戏 "Marv The Miner"Q这是在 GPL 下发布的E序Qƈ且编写ؓ在几个不同的Udq_上运行?
要完成本教程Q您需?MarvTheMiner_120_all.zip 文gQ该文g包含此程序的原始源文件。单?A >此处Q下载“Marv the Miner v1.2.0Q包括别编辑器Q”,以获得源文g?
此节介绍如何在开始本教程之前对系l进行设|?
获取q安装所需软g |
CZ所需的Y件如下:
使用下蝲站点提供的说明安装该软g?/P> | ||||||||||||
启动 IDE |
要启?NetBeans IDEQ请执行以下操作Q?/P>
IDE-install-path 变量代表 IDE 起始目录的\径?/P> | ||||||||||||
获取所需源文?/STRONG> |
MarvTheMiner_120_all.zip 文g包含原始 Marv The Miner 应用E序的源文g。该 zip 包括一?MarvTheMiner 目录Q其中包含您在本教E中使用?src ?res 子目录?/P> 要解压羃 MarvTheMiner_120_all.zip 文gQ请执行以下操作Q?
|
本节介绍如何?NetBeans IDE 中设|和使用现有目源?/P>
创徏目 |
W一步是?NetBeans IDE 中创Z个新目?/P>
|
NetBeans 讑֤破碎解决ҎZ?EM>目配置的用。对于一个项目而言Qؓ该项目创建的每个分发 Jar/Jad 都应该拥有一个项目配|?
如果您检查文?Main.java
Q将看到作者支持具有(Nokia ?FullCanvasQ和 Class.forname()
注释l合的多个^台。同时还定义了变?vendorQ该变量用于跟踪q行应用E序的电话。根据此信息Q您可以看到他们支持五组不同的电话:
同样Q您创建四个配|来处理q些分发之间的差异?/P>
创徏配置 |
位于“项目属性”页剙的“项目配|”组合框现在应该包含五种配置。我们马上会使用q些讄Q但是现在要?IDE d一些仿真器?/P> |
?IDE d仿真? |
要用已l安装在计算Z的仿真器q_q行目Q首先必d IDE 中进行注册?/P>
|
针对配置定制目讄 |
可以针对每个目配置单独定制“项目属性”页上的每个面板。缺省情况下Q配|将使用在缺省配|中定义的设|?
|
为每个配|创建定制代码块 |
讑֤破碎解决Ҏ的第二部分是能够指定源文件中的某些代码块Q以使其特定于一个或多个配置。通过使用右键单击~辑器上下文菜单中的操作或通过“编辑?gt;“预处理E序块”菜单可以完成此d?/P>
完成后,cd义如下: |
生成和执行应用程?/STRONG> |
此时Q我们应该能够针Ҏ有配|编译和q行该程序。单M工具栏上的Q何图标将Ҏ动配|执行所选的操作?
|
通过本教E,您可以熟l掌握如何将现有 MIDP 目导入?NetBeans 环境中,但是它ƈ未将 IDE 解决的所有设备破问题全部列出。以下列举了一些常见问题的更多CZ及如何通过 IDE 来解冟?
例如Q您拥有两个目 MyLibrary ?MyApplicationQ这两个目均包含两个配|?ReleaseConfiguration ?DebugConfigurationQ则可以执行以下步骤来设|正的相关:
q是在进行配|时讄目之间相关Ҏ采用的方式?
虽然 IDE 只能自动符?UEI 规范的第三方仿真器^収ͼ但是仍然可以使用不符?UEI 的仿真器。本节介l具体操作方式?/P>
d不符?UEI 的仿真器 |
如果您的仿真器需要额外信息(如项?Jar 的位|或要执行的 MIDlet 的名UͼQ则通过修改位于目起始目录中的 build.xml 文g可以执行仿真器? 此文件控制所有项目操作。我们在此可以创Z个新目标Q该目标不仅可以执行 motorola 仿真器,如果?Motorola 配置上调用运行操作,则还可以传递所有适当的数据?/P> 向项目的 build.xml d以下代码Q?/P> <target description="Run MIDlet suite." depends="init" name="run"> <condition property="run.motorola"> <!-- arg2 must match the configuration name you would like to use the special emulator --> <equals arg1="${config.active}" arg2="Motorola"/> </condition> <ant inheritrefs="true" inheritall="true" target="run_normal"/> <ant inheritrefs="true" inheritall="true" target="run_motorola"/> </target> <target description="Run MIDlet suite the normal way." depends="init" name="run_normal" unless="run.motorola"> <nb-run commandline="${platform.runcommandline}" securitydomain="${evaluated.run.security.domain}" execmethod="${run.method}" platformtype="${platform.type}" platformhome="${platform.home}" device="${platform.device}" jadurl="${dist.jad.url}" jadfile="${dist.dir}/${dist.jad}"/> </target> <target description="Run MIDlet suite for motorola's non-UEI emulator." depends="init" name="run_motorola" if="run.motorola"> <property name="project.home" location="."/> <!-- the last arg line contains an value "Miner". This must match the name of the midlet you want to execute --> <java dir="${platform.home}/bin" fork="true" classname="com.mot.tools.j2me.emulator.Emulator" classpath="${platform.home}/bin/Emulator.jar;${platform.home}/bin/configtool.jar"> <jvmarg value="-Djava.library.path=${platform.home}/lib"/> <arg value="-classpath${project.home}/${dist.dir}/${dist.jar}"/> <arg line="-deviceFile"/> <arg value="${platform.home}/bin/RESOUR~1/T720I~1.PRO"/> <arg line="javax.microedition.midlet.AppManager Miner -JSA 1 1"/> </java> </target> 因此Q只要活动配|是 MotorolaQ就会运? |
其中包括 Marv the Miner 教程?/P>