Homebrew developer "Chomper" builds JVM, ports mPlayer for webOS | webOS Nation
 
 

Homebrew developer "Chomper" builds JVM, ports mPlayer for webOS 20

by Jonathan I Ezor#IM Wed, 29 Dec 2010 11:49 am EST

The worldwide homebrew community continues to push the edges of webOS. One Chinese developer, Chomper, has recently released early versions of two long-awaited additions to the platform: a Java Virtual Machine (JVM) and a port of the open-source, multiformat mPlayer media player.

Java (not to be confused with the Javascript Web site scripting language, already a major part of webOS) is a sophisticated, cross-platform programming language developed by Sun Microsystems (now part of Oracle). Developers can write a single applet or application in Java that will work in many different operating systems, provided that a Java virtual machine is available for those OSes to interpret the code. (For example, Jason Robitaille's webOS Quick Install and other Canuck Coding tools, and Palm's own webOS Doctor, are both written in Java.)

Until recently, webOS has been left out of the Java pot, since there had been no JVM available. Chomper has now released a beta JVM (original posting in Chinese here; Google translation here) that, while buggy, seems to be working for users.

Not content with that success, apparently, Chomper has also ported mPlayer to webOS. Using mPlayer, webOS users can now (potentially) play a huge number of additional media file types, including (from the mPlayer site's description):

most MPEG/VOB, AVI, Ogg/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4, RealMedia, Matroska, NUT, NuppelVideo, FLI, YUV4MPEG, FILM, RoQ, PVA files, supported by many native, XAnim, and Win32 DLL codecs. You can watch VideoCD, SVCD, DVD, 3ivx, DivX 3/4/5, WMV and even H.264 movies.

It's still in the early stages, so we don't yet know whether all of these formats will work under webOS, and forum postings suggest that this mPlayer port is not (yet) compatible with webOS 2.0.

Check out the links above to download these two new additions to the webOS homebrew world.

Category:
Tags:

20 Comments

Would like to see Palm start to add some more video file types to the OS soon.

Also in the old Palm OS days, didnt you need JVM to run Opera browser?

Yes, I managed to get the JVM and Opera installed on my T|X before support was pulled, etc..

Having said that, did I ever use Opera -- perhaps a few times. It was more of a 'I did it because I could' situation vs. a practical one (performance issues & frequent crashes made Opera practically useless to me).

Don't they have to pay royalties or some other fee to the rights holders of the codecs for the more popular video formats? Maybe with HP in charge they'll have the money to do it.

Can any other OS do this? Is this a feature that already should be in WebOS? Or is this showing how special WebOS is?

Two other OSes have JVMs built in (though one seems to be moving away from it). I don't know if it should already be in webOS. It is NOT showing how special webOS is. It does however, show how impressive Chomper is for porting this.

finally! Thanks sooo much chomper! I never used my pre for video because converting them just wasn't worth the time, now I might actually be able to!

+1 to Chomper. I will likely be testing this soon. If there's any help needed in this I am glad to help...

WebOS has been thin on media playing so far. I would like to be able to play more... I don't use it for music though because the battery life is NG.

Would this work with icon of java apps in the launcher?

Does the emulator have to be launched as an app, then java apps within that? If so, could you tap on a java app icon in webos' launche, which would launch the emulator, and automatically launch that app?

Or does it work more like a plugin?

Key point: this is a J2ME JVM, the kind used to run mobile Java apps on dumbphones.

Android's version of Java is the J2SE/desktop version of Java, which isn't capable of running J2ME apps without third-party extensions.

OK, Tell us how to install MPLAYER!

See my answer below. But for real help, go to the thread as that's what a forum is for :-)

Looking forward to running mplayer! Thanks, Chomper!

It sounds great but can anyone walk me through installing these?

Most of the details are in the first post of the mPlayer thread. You either need to download the ipk file and use wosqi to install it, or if you have Preware installed just click the ipk file and it will install automatically.

http://forums.precentral.net/web-os-development/271789-mplayer-1-0-a.html

Don't forget, Internalz can install ipk files too ;)

Sorry, I keep forgetting about Internalz. A great app which I use when I get stuck in a corner by the short comings of the webOS UI :)

Internalz made it really easy to install mPlayer. All you have to do is click on the link for the ipk file and Internalz did everything. Then restart the phone. In my case, I downloaded some wmv files and used Internalz to move them from the Downloads folder to the Videos folder.

I apologize, but Preware gave me the option to install the mPlayer ipk when I clicked on the file link and I used Internalz to move the files.

Thanks folks, I got it loaded now:)

so is there any chance with this new JVM I could run Angry IP Scanner on my Pre+? Surely it would require some source code changes? (which would be way over my head)

http://www.angryip.org/w/Download