Notices


Reply
Thread Tools
Posts: 306 | Thanked: 603 times | Joined on Jan 2012 @ Belgium
#31
Originally Posted by freemangordon View Post
@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
 

The Following 4 Users Say Thank You to DavyP For This Useful Post:
Posts: 306 | Thanked: 603 times | Joined on Jan 2012 @ Belgium
#32
Originally Posted by Arthuro_Adam View Post
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
 

The Following User Says Thank You to DavyP For This Useful Post:
Posts: 203 | Thanked: 538 times | Joined on Oct 2009 @ Colombia
#33
It works on the N9

 

The Following 5 Users Say Thank You to munozferna For This Useful Post:
Posts: 136 | Thanked: 19 times | Joined on Nov 2011 @ Hungary
#34
Originally Posted by DavyP View Post
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.
 
Posts: 440 | Thanked: 160 times | Joined on Aug 2010 @ Las Vegas, NV
#35
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!
 
Posts: 306 | Thanked: 603 times | Joined on Jan 2012 @ Belgium
#36
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
 

The Following User Says Thank You to DavyP For This Useful Post:
Posts: 87 | Thanked: 66 times | Joined on Jan 2010 @ Australia
#37
Originally Posted by DavyP View Post
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 " u'll <3 it "
if your work leads us to run WhatsApp i can guaranty you a lot of beers
 
Posts: 293 | Thanked: 163 times | Joined on Jan 2012 @ beijing-islamabad
#38
thanks a lot ,appreciated your efforts . Its a great experience !
 
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#39
Originally Posted by et3rnal View Post
Now you need an N9 " 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
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following 9 Users Say Thank You to Estel For This Useful Post:
Posts: 1,680 | Thanked: 3,685 times | Joined on Jan 2011
#40
Lol@Harmattan trash.

DavyP, if we had a whip around to get you an n900 to develop on, would you accept?
__________________
N900: One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die.
 

The Following 5 Users Say Thank You to vi_ For This Useful Post:
Reply


 
Forum Jump


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