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)

DavyP 2012-02-18 12:49

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
Another question for N9 owners:

If you install the deb file on my website, do you see icons in the menu
for "Opera Mini", "microemu-demo" and "Run MIDlet"?

I think there is a slight difference between N900 and N9 with the former
putting the x.desktop shortcuts in /usr/share/applications/hildon and the
latter putting them in /usr/share/applications. A similar issue appears
with the location of the icons.

If my suspicion is right, it means the deb file will not work that well on
the N9 (due to missing short cuts and icons).

Davy

myname24 2012-02-18 14:27

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

Originally Posted by DavyP (Post 1166547)
Another question for N9 owners:

If you install the deb file on my website, do you see icons in the menu
for "Opera Mini", "microemu-demo" and "Run MIDlet"?

I think there is a slight difference between N900 and N9 with the former
putting the x.desktop shortcuts in /usr/share/applications/hildon and the
latter putting them in /usr/share/applications. A similar issue appears
with the location of the icons.

If my suspicion is right, it means the deb file will not work that well on
the N9 (due to missing short cuts and icons).

Davy

my solution on the N9
just copy the .desktop files from /usr/share/applications/hildon to /home/user/.local/share/application using any file manager or the terminal

Brian_7 2012-02-18 14:38

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

Originally Posted by DavyP (Post 1166536)
Are they actually running for a while and then suddenly crash, or
do they not start at all due to no support for certain APIs and JSRs?

If you start a terminal, do the following:

/opt/phoneme/bin/runmidlet /path/to/midlet.jar

If the application crashes or whatever, have a look at the error on
the terminal and post it here. If you see something like,

java.lang.NoClassDefFoundError: xxx

It means the midlet requires support for certain features that the
phoneME build does not have.

Davy

It is weird. It just tried the new version and it crashed too 2 minutes later.

Now i just ran it from the x-terminal and played it for 10 minutes and it didn't crash

santiago 2012-02-18 23:16

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

Originally Posted by DavyP (Post 1166533)
Could you check again with the latest build? Maybe my runtime
detection of Maemo and MeeGo is not accurate enough.

I check the file /etc/issue, and if it begins with "Maemo 5", I run the
midlet in normal window mode, otherwise in fullscreen.

On the N900 emulator, this file contains: 'Maemo 5 \n \l'
On the N9 emulator, this file contains: 'MeeGo 1.2 Harmattan \n \l'

Maybe your platform has a /etc/issue file with a different contents.
If so, I would like to know the other possibilities.

Davy

Nope, Davy.. No full screen, this is a screenshot about it in Maemo 5 (N900)

DavyP 2012-02-18 23:26

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

Originally Posted by santiago (Post 1166739)
Nope, Davy.. No full screen, this is a screenshot about it in Maemo 5 (N900)

Ah, but this is normal. It is not the grey bar that people with an N9
have been complaining about. See the grey bars at the bottom on
the screenshots over here:

http://beford.org/ole/

On the N9, I start a midlet in full screen to hide both the top bar
and the bottom bar. On the N900, I don't (because there is no
grey bar). However, if there is a general interest to always start a
midlet in full screen to hide the top bar as well, I can do that.

Actually, you can enable full screen with the Ctrl+Arrow Up key combination.

Davy

santiago 2012-02-19 00:39

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

Originally Posted by DavyP (Post 1166741)
Ah, but this is normal. It is not the grey bar that people with an N9
have been complaining about. See the grey bars at the bottom on
the screenshots over here:

http://beford.org/ole/

On the N9, I start a midlet in full screen to hide both the top bar
and the bottom bar. On the N900, I don't (because there is no
grey bar). However, if there is a general interest to always start a
midlet in full screen to hide the top bar as well, I can do that.

Actually, you can enable full screen with the Ctrl+Arrow Up key combination.

Davy

:D my god.. :D sorry ahahahah
ctrl + up it's amazing!
u have a trick for everything on phoneme?!
:D

guilledoc 2012-02-19 02:49

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

Originally Posted by DavyP (Post 1166536)
Are they actually running for a while and then suddenly crash, or
do they not start at all due to no support for certain APIs and JSRs?

If you start a terminal, do the following:

/opt/phoneme/bin/runmidlet /path/to/midlet.jar

If the application crashes or whatever, have a look at the error on
the terminal and post it here. If you see something like,

java.lang.NoClassDefFoundError: xxx

It means the midlet requires support for certain features that the
phoneME build does not have.

Davy

No problem with the command on xterm so I'll try not to be so lasy :D

Off topic wich kind of java game anyone suggest to try?
thanks

DavyP 2012-02-19 09:33

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

Originally Posted by santiago (Post 1166759)
:D my god.. :D sorry ahahahah
ctrl + up it's amazing!
u have a trick for everything on phoneme?!
:D

FYI,

Ctrl+Left is mapped onto the left soft button and Ctrl+Right is
mapped onto the right (the soft buttons don't exist on the N900).

Since I have to intercept key strokes in Qt4 and map them onto
events that phoneME understands, I can trigger whatever I want
on special key combinations (like I did with Ctrl+Up and the others).

Davy

DavyP 2012-02-19 09:37

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

Originally Posted by guilledoc (Post 1166776)
No problem with the command on xterm so I'll try not to be so lasy :D

If this is about the crash when starting a midlet from the N900 menu,
and the no crash when starting from a terminal, then I am quite
surprised as the code is being executed.

I will see if I can dump the logging information to a file, so that we
can also figure out what happens in the first case.

Davy

Brian_7 2012-02-19 15:03

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
Hello Davy, can you please tell me how to create a desktop icon like you did with opera-mini?


All times are GMT. The time now is 07:24.

vBulletin® Version 3.8.8