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-01-30 21:17

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

Originally Posted by freemangordon (Post 1158052)
@DavyP - can't believe how fast is opera, thanks a lot man. There is a little problem though - JVM segfaults on exit.

EDIT:
segfault happens only when started under root account.

I can explain the segfaults. phoneME was never meant to be
compiled as a library. I did so anyway to simplify the compilation
process, and created a frontend application in Qt4 that:
1) dynamically loads this library through dlopen()
2) uses dlsym() to find cvm's original main() method
3) starts a new thread and
4) calls the original cvm's main() method

The thing is that the either the Qt4 frontend or the cvm's thread
can clean up and call exit() while the other part is still busy,
causing a segfault. This should not happen while the application
is running, only when you end the application.

Not sure though why this only happens under root.

Davy

DavyP 2012-01-30 21:27

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

Originally Posted by Arthuro_Adam (Post 1158035)
I tried with an N9, but it doesn't work for me.

I copied the files to the root directory (/phoneme) then I tried to launch opera.sh but permission denied.

What did I wrong?

Did the unpacking succeed? Does the opera.sh script have
execute permissions? Perhaps you unpacked the tgz archive with
a tool that does not preserve execute permissions? Try the
following command in /phoneme:

chmod a+x opera.sh
chmod a+x test.sh
...

do this for all scripts

Also set the execute permission for the cvm binary:
chmod a+x bin/cvm

You can try to run a console application:
bin/cvm -cp testclasses.zip Test

or

./test.sh

I hope this helps.

Davy

munozferna 2012-01-31 01:39

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
It works on the N9 :)

http://beford.org/ole/20120130202915.png

Arthuro_Adam 2012-01-31 06:29

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

Originally Posted by DavyP (Post 1158079)
Did the unpacking succeed? Does the opera.sh script have
execute permissions? Perhaps you unpacked the tgz archive with
a tool that does not preserve execute permissions? Try the
following command in /phoneme:

chmod a+x opera.sh
chmod a+x test.sh
...

do this for all scripts

Also set the execute permission for the cvm binary:
chmod a+x bin/cvm

You can try to run a console application:
bin/cvm -cp testclasses.zip Test

or

./test.sh

I hope this helps.

Davy

Thanks, after I ran chmod, it works.

I live in Hungary, so I have the same problem, than the Slovenian member, the program haven't every character, and there is a grey line on the bottom.

Thanks for your work, it's a great progress, I hope there will be a solution for the problems above.

Joseph9560 2012-01-31 07:37

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
Awesome, unexpectedly fast! Great job, thanks a lot for your great effort. I hope you would be able to manage more time for the app!

DavyP 2012-01-31 07:42

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
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

et3rnal 2012-01-31 08:22

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

Now you need an N9 :p " u'll <3 it "
if your work leads us to run WhatsApp i can guaranty you a lot of beers :D

imo 2012-01-31 08:25

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
thanks a lot ,appreciated your efforts . Its a great experience !

Estel 2012-01-31 10:16

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

Originally Posted by et3rnal (Post 1158243)
Now you need an N9 :p " u'll <3

I would just like to remind all N9 fanboys, that applications for harmattan got separate forum part, and there is another topic with feedback from harmattan community about this particular program (PhoneME).

So, please, keep this thread clear from harmattan trash.

/Estel

vi_ 2012-01-31 10:54

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
Lol@Harmattan trash.

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


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

vBulletin® Version 3.8.8