Is there a possibility to run applets on Android or Blackberry?

浪子不回头ぞ 提交于 2019-12-20 10:54:38

问题


This is what the Java site www.java.com says:

"KVM, the virtual machine for mobile devices, is the counterpart of JVM (Java virtual machine). It is used to run applets and applications written with Java technology on mobile devices. KVM must be installed by the manufacturer. It is NOT available for download or installation by consumers".

Now Android has a customized virtual machine called DVM (Dalvik Virtual Machine). Can we compare it with KVM? Wonder if we can further reprogram DVM to incorporate features of KVM to run applets on Android? Same goes for Blacberry, is there a possibility?


回答1:


Jave applet is still alive, many organizations use it, a lot of HMI's use it,also banks, I wanted to buy few android tablets and use it in our factory for our technicians, But no applet support, so i will go on use my android tablet as game machine for my children.




回答2:


Wonder if we can further reprogram DVM to incorporate features of KVM to run applets on Android?

There is very little overlap between what Android provides and what an applet needs, such as AWT. Since applets, as a technology, have been dead for over a decade, I cannot imagine that it would be worth anyone's effort to modify the Android firmware to include the necessary classes and figure out how to run an applet in an Android activity.




回答3:


Applets are not supported on the phones by default. Customers can buy a browser which supports it such as the Cloud browser. We have a technology to convert existing Java applets to allow them to run on mobile devices without a special browser. If your company is in need of this service please contact us through our unitedswe website.




回答4:


I've seen applications running cdlc/mid profile on android, as Android underlying is a Linux kernel anyway, after you root your device, I don't see there's difficulties installing another JVM under linux, which in turns support CDC profiles.

But the problem is will it integrate the default browser well? Will 2x JVM (Dalvik/ OpenJava lets say) make the memory management alot more complecated?




回答5:


Applets will NOT run on the BlackBerry for various reasons, most importantly that the AWT classes applets depend on are not available on the BlackBerry. The UI model is very different, consisting of either the MIDP UI model or the BlackBerry model, neither of which is AWT.

Going forward, you should be using JavaScript for browser-side computing, it's the only thing that will work crossbrowser on mobile platforms. Applets are very much dead technology, unfortunately.




回答6:


Oracle is offering something called Application Development Framework Mobile. If I understand the page correctly, this framework helps to create java applications for ios and android. You would have to abandon the applet idea, though, I guess.




回答7:


I can execute Java applets on my S2 with Ubuntu 12.04 LTE & firefox browser with my rooted samsung stock android phone (4.1.2).

Install linux for Android, configure your Linux distro to run oracle/sun Java applets and Voila!




回答8:


As stated by others, rooting your Android device and then loading Linux and then installing Java to that OS works just fine. Here's a guide you may use and modify that I compiled for a different ~.jar file I wanted to run

http://forums.rptools.net/viewtopic.php?f=12&t=24082&sid=3092b606dd5c7278e0908f021956b9f3

Best part was once I got port forwarding figured out for my network I was able to host a public server from within this little environment.

Hope this helps you all because I've tested this with other Java dependent software and the ARMel and ARMhf versions of Java's JDK work great.

# Edit/Update # http://www.timelesssky.com/blog/running-debian-armhf-alongside-android After following the above link's instructions I was able to run- apt-caxh search java -And Orical's Java JDK was available to install though the package manager when running Wheezy Hard Float on Android with Debian Kit app. Next step is to see if Kali will install via the shroot method offered by this app's modded code.



来源:https://stackoverflow.com/questions/2433338/is-there-a-possibility-to-run-applets-on-android-or-blackberry

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!