maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [BETA RELEASE] PhoneME Advanced (Java Mobile) (https://talk.maemo.org/showthread.php?t=81969)

Arthuro_Adam 2012-01-31 11:09

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
Quote:

Originally Posted by DavyP (Post 1158228)
Great to hear that the build also works on the N9. I am aware of the font issues.

Can you confirm this grey bar issue with other midlets as well?
Try ./microemu-demo.sh

If so, then I am afraid this is an N9 specific issue, which I unfortunately cannot reproduce at the moment without a real device.

Thanks for testing.

Davy

Yes, it's there in the microemu too. That's gry bar works similarly than the status bar at the top, it's disappear when you swipe. Would you like to send a screenshot?

blackjack4it 2012-01-31 11:48

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
@DavyP

Hi DavyP this is an awesome improvement for our N900, thank you so much. Could you please integrate the S40 javax.microedition libraries to let applications like Whatsapp, Skebby and so on to start? If I try to start them they search for S40 libs but can't find them :p

In addition I've noticed that it search for PlayerListener class..

Thank you

DavyP 2012-01-31 12:57

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
Quote:

Originally Posted by vi_ (Post 1158307)
Lol@Harmattan trash.

DavyP, if we had a whip around to get you an n900 to develop on, would you accept?

Not sure where you can still get this N900, but if you are able to pull
this off, I would certainly appreciate it. It would make my life easier
when debugging performance problems or other issues which are
hard to reproduce on the emulator.

I leave this decision up to you all.

Davy

DavyP 2012-01-31 13:05

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
Quote:

Originally Posted by blackjack4it (Post 1158330)
@DavyP

Hi DavyP this is an awesome improvement for our N900, thank you so much. Could you please integrate the S40 javax.microedition libraries to let applications like Whatsapp, Skebby and so on to start? If I try to start them they search for S40 libs but can't find them :p

In addition I've noticed that it search for PlayerListener class..

Thank you

Regarding the S40 libraries: I think the microemu project has an
implementation of the Nokia APIs. If it are those libraries you are
referring to, then I can have a look. If there is no open source
implementation available, then I would have to implement it from
scratch :-(

Regarding the Playerlistener class: it is a similar issue. There is
currently no JSR 135 support. I could first start with a dummy
implementation (making no noise at all), and then hook up the
interfaces to the native ones in Maemo/Qt4 ones I figured out how
multimedia playback works.

Davy

[DarkGUNMAN] 2012-01-31 13:28

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
I'll see if I can find 2nd hand N900 for a reasonable price

nicolai 2012-01-31 13:44

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
Hey DavyP,

can you give me some hints, how you compiled that.
I followed some (outdated?) howtos for the n800
(http://wiki.java.net/bin/view/Mobile...tformsNokia800)
And I can at least build the cdc binary.
But I can not get it to work to compile the midp
or other components.

regards
Nicolai

DavyP 2012-01-31 13:57

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
The compilation process is fairly complicated, and even at this point not
even a fully automated process.

The wiki you refer to provides some information on how you can
compile CDC and Foundation profile. I used the CodeSourcery
compiler for Linux ARM EABI to make those:

http://davy.preuveneers.be/phoneme/?.../10#armgnueabi

The CDC and Foundation builds you find there work OK on the
N900 without further tweaking.

However, as soon as graphics are involved you need to mess around
with the native toolkit, which on Maemo is Qt4. What I did was
customize and tweak the phoneME code so you can compile it as
library rather than as a cvm binary. I replaced some platform specific
methods with function pointers, and wrote a separate Qt4 application
which I compile with MADDE. This Qt4 app initializes these function
pointers with methods it provides. It is not straightforward in the sense
that I have to do a double compilation to build the library where in the
second compilation run I rely on the log output of the first compilation
run. I had to do something similar for Android too.

I am going to spare you the details, but if I can somehow fully automate
the build process in a script, I will also put it on my website.

Davy

soleil 2012-02-01 09:02

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
How can I run theses opera.sh script .
I always get permission denied on my N9 when trying to run opera,sh or bin/cvm

soleil 2012-02-01 09:03

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
How can I run theses opera.sh script .
I always get permission denied on my N9 when trying to run opera.sh or bin/cvm

DavyP 2012-02-01 09:29

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
Quote:

Originally Posted by soleil (Post 1158799)
How can I run theses opera.sh script .
I always get permission denied on my N9 when trying to run opera.sh or bin/cvm

A similar error was reported before:

http://talk.maemo.org/showpost.php?p...9&postcount=32

Your scripts and the cvm did to maintain their execute permissions while unpacking. Do the following in a terminal:

chmod a+x bin/cvm
chmod a+x opera.sh
chmod a+x test.sh

etc.

Davy


All times are GMT. The time now is 08:10.

vBulletin® Version 3.8.8