kuix教程0

教程0:入门

本节提供了一个快速浏览,让您和框架运行的Kuix。
它定义了组件方法Kuix使用,并会帮助您配置Kuix IDE。 Then, it will provide the keys to understand the global structure of the framework through the introduction of both interface design approach and the event processor. 然后,它会提供的钥匙,通过了解双方的界面设计方法和事件处理器的推出了全球的框架结构。

Framework components 框架组件

What does the framework contains? 该框架包含了什么? What is its structure? 它的结构是什么?

Check the API Reference . 检查API参考

Using Kuix with Netbeans 使用Netbeans的Kuix

  1. Download and install your IDE: 下载并安装您的IDE:

    Start installing WTK on your system. 启动WTK的安装在您的系统。

  2. Open NetBeans and create a new J2ME project 打开NetBeans和创建一个新的J2ME的项目

    Create Project

  3. Select Mobility > MIDP Application and click next 选择移动> MIDP应用程序并点击下一步

    Create Project

  4. Set the project's name and uncheck Create Hello MIDlet and click next 设置项目的名称和取消创建您好MIDlet, 并点击下一步

    Create Project

  5. Select the default platform and click finish 选择默认的平台,然后点击完成

    Create Project

  6. Right click on your fresh created project and select Properties . 右键单击您的新创建的项目并选择属性In the dialog window, select Libraries & Resources and click on Add Jar/Zip . 在对话窗口中,选择图书馆及资源和 Zip点击添加JAR /。 Navigate to the files (kuix.jar and kutil.jar) you have downloaded at step 1. 导航到文件(kuix.jar和kutil.jar)您在步骤1中下载。

    Link to Kuix

  7. Right click on your project ans select New / Java class . 右键单击您的项目答选择新建/ Java类

    Export Kuix libraries

    Create Project

  8. Edit the new class source code and make your class extends org.kalmeo.kuix.core.KuixMIDlet . 编辑新的类的源代码,使你的类扩展org.kalmeo.kuix.core.KuixMIDlet。

    Export Kuix libraries

  9. Right click on your project and select Properties . 右键单击您的项目并选择属性In the dialog window, select Application descriptor and click on the MIDlet tab, then click the Add button, and fill textfileds as you can see in the below image. 在对话窗口中,选择应用程序描述符 ,然后按一下MIDlet的 标签,然后点击添加 按钮,并填写形象textfileds你可以在下面看到的。

    Export Kuix libraries

  10. Congratulation, your project is ready to work with Kuix 恭喜,您的项目准备工作Kuix

Using Kuix with EclipseME 使用EclipseME Kuix

  1. Download and install your IDE: 下载并安装您的IDE:

    Start installing WTK on your system. 启动WTK的安装在您的系统。
    Install Eclipse with the mobile extension of your choice (EclipseME for instance). 安装Eclipse与您的选择(例如EclipseME)的移动扩展。

  2. Open Eclipse and create a new J2ME project 打开Eclipse,并创建一个新的J2ME的项目

    Create Project

  3. Set the project's name and click next 设置项目的名称,点击下一步

  4. On the Java Settings screen, select the Libraries tab and click add JARs... (or add External JARs... depending if you have saved Kuix and Kutil in your workspace or not).Java设置 屏幕上,选择Libraries选项卡 ,然后点击添加JAR文件...(添加外部的JAR ... 如果你有不同保存工作区或不Kuix和库季尔在你的)。 Navigate to the file you have downloaded at step 1. 导航到您在步骤1中下载的文件。

    Link to Kuix

    Link to Kuix

  5. Export Kuix with your project to include the framework in your JAR 出口与您的项目Kuix包括在您的JAR框架

    Export Kuix libraries

  6. Congratulation, your project is ready to work with Kuix 恭喜,您的项目准备工作Kuix

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值