maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   JAVA on the N900 is possible! (https://talk.maemo.org/showthread.php?t=37405)

elliotshepherd 2010-01-06 07:09

Re: JAVA on the N900 is possible!
 
Wow.

WOW.

As a java developer, I'm suddenly far more excited by my N900 (which i admit had been pissing me off a bit :).

http://learnnowbiz.com/elliot/Screen...106-180622.png

It's slow... but that doesn't matter. This is a desktop java swing app (frostwire) running on my phone. Without any changes.

(though a few bugs... it doesn't seem to take control on the keyboard... so typing anywhere brings up the contact list search!)

I think perhaps ill get jetty running, and write myself a web app to remote control my phone! (send/receive sms... take a picture... get the gps location... wipe the disk... etc)

Fun =)

HtheB 2010-01-08 13:32

Re: JAVA on the N900 is possible!
 
how about porting pspkvm to N900?

pspkvm is a JavaME emulator for the PSP.

Link:
http://sourceforge.net/apps/trac/pspkvm

rlinfati 2010-01-08 14:02

Re: JAVA on the N900 is possible!
 
psp over javeme over microemulator over javase over maemo ?

HtheB 2010-01-08 14:16

Re: JAVA on the N900 is possible!
 
Quote:

Originally Posted by rlinfati (Post 459173)
psp over javeme over microemulator over javase over maemo ?

O_o???? hmmm???

modeless 2010-01-08 20:55

Re: JAVA on the N900 is possible!
 
Has anyone tried out the optimized OpenJDK for ARM on the N900 provided by Cambridge Software Labs (see http://www.camswl.com/openjdk/)? Would be interesting to hear whether it's running and how the performance is. Unfortunately I do not have a N900 yet to test it myself.

qole 2010-01-08 22:59

Re: JAVA on the N900 is possible!
 
rlinfati:

HtheB is suggesting a pspkvm port as a replacement for Microemulator on JavaSE.

pspkvm is itself a port of the PhoneME software. Porting directly from PhoneME to Maemo is probably a better bet, rather than going from pspkvm.

But this is a good idea, actually....

It looks like the current version of PhoneME Feature, MR4, isn't available for Linux/ARM, you'd have to try building it yourself from source.

The only Linux/ARM binaries I could find for this are an MR2 build from 2007, which is really really old (N800 days).

I think someone should try to build the Feature MR4 software from source (or from the source repo) using this guide.

It sure would be "cleaner" to get PhoneME working rather than using Microemulator on top of JavaSE.

Olle 2010-01-10 13:00

Re: JAVA on the N900 is possible!
 
Quote:

Originally Posted by modeless (Post 460033)
Has anyone tried out the optimized OpenJDK for ARM on the N900 provided by Cambridge Software Labs (see http://www.camswl.com/openjdk/)? Would be interesting to hear whether it's running and how the performance is. Unfortunately I do not have a N900 yet to test it myself.

I've tested them and they work,
tested it with the tripleA-Client but dont know if there is a performance boost to the embedded Java from sun. need more testing

but one improvement will be the license issue

qole 2010-01-10 20:15

Re: JAVA on the N900 is possible!
 
I agree with Olle, the Cambridge binaries work somewhat, but they aren't nearly as polished or complete as the Sun binaries. But that's been my experience with OpenJDK vs. Sun Java on all platforms.

CormacB 2010-01-11 10:16

Re: JAVA on the N900 is possible!
 
Any chance of a rehost of the microemulator deb? I got the jre and microemu installed myself, but launching it from the command line is a pain. Also do you have a device config that fits the screen properly?

Olle 2010-01-11 10:48

Re: JAVA on the N900 is possible!
 
You can build your own Shortcut
HowTo is here

€ somewher is explaind where you can hide the stausbar in xTerminal
combined in a script it should work


All times are GMT. The time now is 16:40.

vBulletin® Version 3.8.8