如何在S60 OS中运行.jar文件?

时间:2023-01-27 11:45:08

I want to run a .jar file on my Nokia N73 phone. I cannot figure out what I need to do this. I have downloaded the Sun Java Wireless Kit but that just connects to its own emulators.

我想在诺基亚N73手机上运行.jar文件。我无法弄清楚我需要做什么。我已经下载了Sun Java Wireless Kit,但它只是连接到自己的模拟器。

2 个解决方案

#1


You have to transfer and install that file to the mobile phone. You have few options here:

您必须将该文件传输并安装到手机上。你在这里几乎没有选择:

  1. Install Nokia PC Suite and use it's Application Installer to transfer JAR file to the phone.

    安装诺基亚PC套件并使用它的应用程序安装程序将JAR文件传输到手机。

  2. Send it by bluetooth to the phone

    通过蓝牙发送到手机

  3. Upload the jar file to some file hosting service and browse to it from the phone

    将jar文件上传到某个文件托管服务并从手机浏览到它

All this considering that your file is a Java application for mobile (J2ME)

所有这些考虑到您的文件是移动Java应用程序(J2ME)

#2


I would add

我想补充一下

  1. copy the .jar file to a memory card and simply open it in the phone file manager
  2. 将.jar文件复制到存储卡,然后在电话文件管理器中将其打开

to Vitaly Polonetsky's answer.

对Vitaly Polonetsky的回答。

As a general rule, J2ME applications should be deployed as a .jad file, not a .jar file.

作为一般规则,J2ME应用程序应该部署为.jad文件,而不是.jar文件。

a .jad file is a simple, much smaller, text file that contains an http:// link to the jar file, for the phone web browser to download and install. a .jad file also allows the application to be signed so you can extend it the benefit of the doubt when it tries to access the mobile network or your phone's memory.

.jad文件是一个简单的小得多的文本文件,其中包含一个指向jar文件的http://链接,供手机网络浏览器下载和安装。 .jad文件还允许对应用程序进行签名,以便在尝试访问移动网络或手机内存时将其扩展到疑点。

#1


You have to transfer and install that file to the mobile phone. You have few options here:

您必须将该文件传输并安装到手机上。你在这里几乎没有选择:

  1. Install Nokia PC Suite and use it's Application Installer to transfer JAR file to the phone.

    安装诺基亚PC套件并使用它的应用程序安装程序将JAR文件传输到手机。

  2. Send it by bluetooth to the phone

    通过蓝牙发送到手机

  3. Upload the jar file to some file hosting service and browse to it from the phone

    将jar文件上传到某个文件托管服务并从手机浏览到它

All this considering that your file is a Java application for mobile (J2ME)

所有这些考虑到您的文件是移动Java应用程序(J2ME)

#2


I would add

我想补充一下

  1. copy the .jar file to a memory card and simply open it in the phone file manager
  2. 将.jar文件复制到存储卡,然后在电话文件管理器中将其打开

to Vitaly Polonetsky's answer.

对Vitaly Polonetsky的回答。

As a general rule, J2ME applications should be deployed as a .jad file, not a .jar file.

作为一般规则,J2ME应用程序应该部署为.jad文件,而不是.jar文件。

a .jad file is a simple, much smaller, text file that contains an http:// link to the jar file, for the phone web browser to download and install. a .jad file also allows the application to be signed so you can extend it the benefit of the doubt when it tries to access the mobile network or your phone's memory.

.jad文件是一个简单的小得多的文本文件,其中包含一个指向jar文件的http://链接,供手机网络浏览器下载和安装。 .jad文件还允许对应用程序进行签名,以便在尝试访问移动网络或手机内存时将其扩展到疑点。