简体   繁体   English

如何在移动设备上运行java应用程序?

[英]how to run java applications on mobile?

hi what do i need to do in order to make my java app executable on a mobile (let's say Nokia Symbian for example) . 嗨我需要做什么才能使我的Java应用程序在移动设备上可执行(例如诺基亚Symbian)。 Do all jar files run on mobiles??? 是否所有jar文件都在手机上运行??? is there a certain way of programmings am supposed to use ?? 有什么方法的程序应该使用? are there specific classes am supposed to use??? 我应该使用特定的类吗?

Do all jar files run on mobiles??? 是否所有jar文件都在手机上运行???

No 没有

is there a certain way of programmings am supposed to use ?? 有什么方法的程序应该使用?

Yes , you need to use j2me for specific MIDP CLDC platrofm . 是的 ,您需要将j2me用于特定的MIDP CLDC platrofm。 have a look here 看看这里

are there specific classes am supposed to use??? 我应该使用特定的类吗?

You can use the classes available over the platform , alternatively you can also add the external library 您可以使用平台上可用的类,也可以添加外部库

Some OS's like Symbian Can run java package file ie .jar files. 有些操作系统像Symbian一样可以运行java包文件,即.jar文件。

And Android lacks that capability. Android缺乏这种能力。

Phones with MDIP runs .jad files that is a Java app made using the J2ME API. 具有MDIP的电话运行.jad文件,这是使用J2ME API创建的Java应用程序。

Android generate Dalvik Bytecode and run .apk packages on the phone. Android生成Dalvik Bytecode并在手机上运行.apk包。

Easy, seems like your about to have a stroke. 容易,似乎你的中风。 Start reading some articles about getting started on J2ME, try these ones out: 开始阅读一些关于J2ME入门的文章,试试这些:

Link 1 microjava.com forum.nokia.com 链接1 microjava.com forum.nokia.com

You have to know, that depends on the your orientation of you application, not all applications runs in all cell phones, is like in computers, a Windows application won't work on Linux, unles you use a Virtualizer. 您必须知道,这取决于您的应用程序的方向,并非所有应用程序在所有手机中运行,就像在计算机中,Windows应用程序将无法在Linux上运行,unles您使用虚拟化器。 My point is, start reading all the documentation you you cant, and take it slow. 我的观点是,开始阅读你不能阅读的所有文档,并慢慢来。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM