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)

guilledoc 2012-02-12 11:30

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

Originally Posted by santiago (Post 1163832)
isn't hard for the moment to create a sh script witch runs the applet u want

Sorry for out of topic, but what about a nnoob how to create those sh script?
thanks

DavyP 2012-02-12 11:39

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
I will include the script to do that in my next build. I have I have time today,
I will upload a new build to my website.

Davy

DavyP 2012-02-12 13:14

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

Originally Posted by santiago (Post 1163832)
to associate jar/jad file is last step i think, it's easy with dbus, can be created a bash executable file that find the midlet class automatically and creates a .desktop file.. i'lll try this week maybe if i've time, but Davy is doing a good work, let's him free to include basically features like jsr and his todo/hopefully features, isn't hard for the moment to create a sh script witch runs the applet u want

Hi Santiago,

While trying out your script I noticed I had to modify the stat
command 'stat %s "${FILE}"' to 'stat -c %s "${FILE}"' (i.e. add the
'-c' parameter.

There are new builds on my website. There is a link to a
makejadsh script to create missing jad files and shell script to run
the midlet. It is also included in the archives.

http://davy.preuveneers.be/phoneme/p...ipts/makejadsh

I applied some minor tweaks on the fonts. I am especially
interested in feedback from people who are using 'non standard'
fonts, preferably with screenshots.

Also, don't worry if you are getting the following error:
Java VM panic: (null)
Aborted

I still have to figure out a clean way to shut down at the same time
both the phoneME vm running in one thread and the Qt4 gui
doing all the screen updates and the key/pointer events in
another thread (and for that I need to trap calls to exit() in the
phoneME vm and do a lot of other stuff to ensure that the Qt4 gui
thread does not segfault) .

Davy

PanzerSajt 2012-02-12 13:35

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

Originally Posted by DavyP (Post 1163915)
Hi Santiago,

While trying out your script I noticed I had to modify the stat
command 'stat %s "${FILE}"' to 'stat -c %s "${FILE}"' (i.e. add the
'-c' parameter.

There are new builds on my website. There is a link to a
makejadsh script to create missing jad files and shell script to run
the midlet. It is also included in the archives.

http://davy.preuveneers.be/phoneme/p...ipts/makejadsh

I applied some minor tweaks on the fonts. I am especially
interested in feedback from people who are using 'non standard'
fonts, preferably with screenshots.

Also, don't worry if you are getting the following error:
Java VM panic: (null)
Aborted

I still have to figure out a clean way to shut down at the same time
both the phoneME vm running in one thread and the Qt4 gui
doing all the screen updates and the key/pointer events in
another thread (and for that I need to trap calls to exit() in the
phoneME vm and do a lot of other stuff to ensure that the Qt4 gui
thread does not segfault) .

Davy

Thanks for the new makejad.sh script. I have created another script which applies your script to every single .jar file in a folder.

You have to put all the .jar files the makejad.sh and this script in one folder and it perfectly works.

Code:

#!/bin/bash
for FILE in /path/to/jar/files/*.jar
do
        /path/to/jar/files/makejad.sh ${FILE%%.*}.${FILE#*.}
done


santiago 2012-02-12 13:43

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

Originally Posted by DavyP (Post 1163915)
Hi Santiago,

While trying out your script I noticed I had to modify the stat
command 'stat %s "${FILE}"' to 'stat -c %s "${FILE}"' (i.e. add the
'-c' parameter.

There are new builds on my website. There is a link to a
makejadsh script to create missing jad files and shell script to run
the midlet. It is also included in the archives.

http://davy.preuveneers.be/phoneme/p...ipts/makejadsh

I applied some minor tweaks on the fonts. I am especially
interested in feedback from people who are using 'non standard'
fonts, preferably with screenshots.

Also, don't worry if you are getting the following error:
Java VM panic: (null)
Aborted

I still have to figure out a clean way to shut down at the same time
both the phoneME vm running in one thread and the Qt4 gui
doing all the screen updates and the key/pointer events in
another thread (and for that I need to trap calls to exit() in the
phoneME vm and do a lot of other stuff to ensure that the Qt4 gui
thread does not segfault) .

Davy

hey ;) thx then we have all the necessaries files :D ok i try the new build now and i'll post some screenshots about it ;)

thx davy!

:D you made my day!!! everything seems to be ok!!! THXXXXX

DavyP 2012-02-12 15:28

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

Originally Posted by santiago (Post 1163931)
hey ;) thx then we have all the necessaries files :D ok i try the new build now and i'll post some screenshots about it ;)

thx davy!

:D you made my day!!! everything seems to be ok!!! THXXXXX

Yes, I fixed an issue with the y-offset in the anchor point position
that only occurred when drawing text with a vertical alignment
different from the default one.

Davy

pvnhattoan 2012-02-13 06:19

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
@DavyP: Can you upload your "makejad.sh" file??

DavyP 2012-02-13 08:28

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

Originally Posted by pvnhattoan (Post 1164281)
@DavyP: Can you upload your "makejad.sh" file??

Look at the many posts above. It is available at:

http://davy.preuveneers.be/phoneme/p...ipts/makejadsh

Davy

[DarkGUNMAN] 2012-02-13 08:56

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
1 Attachment(s)
No problems with the new build so far.
Text anchoring with alternate font tested with Tahoma, looks fine.

I see the active class is now listed in the window title :)

DavyP 2012-02-13 09:15

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

Originally Posted by [DarkGUNMAN] (Post 1164323)
No problems with the new build so far.
Text anchoring with alternate font tested with Tahoma, looks fine.

I see the active class is now listed in the window title :)

Yes, I took the main class name because it was quicker to implement
(na parsing of jad or manifest files required) and this way you can
also distinguish different midlets in the same jar file.

Davy


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

vBulletin® Version 3.8.8