开发者

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

开发者 https://www.devze.com 2022-12-22 14:40 出处:网络
This is what the Java site www.java.com says: \"KVM, the virtual machine for mobile devices, is the counterpart of JVM (Java v开发者_如何学编程irtual machine). It is used to run applets and applicati

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

"KVM, the virtual machine for mobile devices, is the counterpart of JVM (Java v开发者_如何学编程irtual 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?


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.


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.


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.


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.


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?


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.


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!


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号