Notices


Reply
Thread Tools
Posts: 250 | Thanked: 126 times | Joined on Dec 2010
#191
Originally Posted by santiago View Post
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
 

The Following User Says Thank You to guilledoc For This Useful Post:
Posts: 306 | Thanked: 603 times | Joined on Jan 2012 @ Belgium
#192
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
 

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

The Following 4 Users Say Thank You to DavyP For This Useful Post:
Posts: 72 | Thanked: 157 times | Joined on Oct 2011 @ Hungary
#194
Originally Posted by DavyP View Post
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
 

The Following User Says Thank You to PanzerSajt For This Useful Post:
santiago's Avatar
Posts: 518 | Thanked: 334 times | Joined on Mar 2010 @ italy
#195
Originally Posted by DavyP View Post
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 ok i try the new build now and i'll post some screenshots about it

thx davy!

you made my day!!! everything seems to be ok!!! THXXXXX
Attached Images
   

Last edited by santiago; 2012-02-12 at 14:14.
 
Posts: 306 | Thanked: 603 times | Joined on Jan 2012 @ Belgium
#196
Originally Posted by santiago View Post
hey thx then we have all the necessaries files ok i try the new build now and i'll post some screenshots about it

thx davy!

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
 

The Following User Says Thank You to DavyP For This Useful Post:
Posts: 3 | Thanked: 0 times | Joined on Feb 2012
#197
@DavyP: Can you upload your "makejad.sh" file??
 
Posts: 306 | Thanked: 603 times | Joined on Jan 2012 @ Belgium
#198
Originally Posted by pvnhattoan View Post
@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
 

The Following User Says Thank You to DavyP For This Useful Post:
Posts: 309 | Thanked: 456 times | Joined on Jan 2010
#199
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
Attached Images
 

Last edited by [DarkGUNMAN]; 2012-02-13 at 09:03.
 

The Following User Says Thank You to [DarkGUNMAN] For This Useful Post:
Posts: 306 | Thanked: 603 times | Joined on Jan 2012 @ Belgium
#200
Originally Posted by [DarkGUNMAN] View Post
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
 

The Following User Says Thank You to DavyP For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 12:58.