Active Topics

 



Notices


Reply
Thread Tools
santiago's Avatar
Posts: 518 | Thanked: 334 times | Joined on Mar 2010 @ italy
#181
Originally Posted by DavyP View Post
Hehe, I actually already had a similar script like yours as well as
another one to create the shell script. I will put them both in my
next build.

I see what you mean with the font issue. I will check again if I did
not make any mistake with the font anchor points.

Davy
thx Davy! u r the best!!

Last edited by santiago; 2012-02-10 at 22:36.
 

The Following User Says Thank You to santiago For This Useful Post:
Posts: 18 | Thanked: 12 times | Joined on Jan 2012
#182
Originally Posted by Brian_7 View Post
If you have the CSSU update, press ctrl+shift+S to zoom in.
Thanks for the tip! Unfortunately this is not working in my n9. I tried to send the keys on the shell process, but no effect on the game. Is there another way to scale it up?
 

The Following User Says Thank You to Guinoak For This Useful Post:
Posts: 268 | Thanked: 75 times | Joined on Jan 2011
#183
Originally Posted by Guinoak View Post
Thanks for the tip! Unfortunately this is not working in my n9. I tried to send the keys on the shell process, but no effect on the game. Is there another way to scale it up?
That's for the n900. I think that there is no CSSU update for the N9.
 

The Following User Says Thank You to Brian_7 For This Useful Post:
Posts: 268 | Thanked: 75 times | Joined on Jan 2011
#184
Originally Posted by marmistrz View Post
Thanks, seems it's a hildon-desktop problem that on desktop I cannot move it (or it's very hard). I'll report it as a bug.
You can not move it on the desktop. But you can do it on a windows like contatcs.

If the game is touchscreen only, i think that this tip won't be useful.
 
Posts: 345 | Thanked: 100 times | Joined on Nov 2009
#185
I tried to add these lines in the manifest file of Sid meier game but no luck :
Nokia-MIDlet-Original-Display-Size: 640,360
Nokia-MIDlet-Target-Display-Size: 854,480
Nokia-MIDlet-App-Orientation: landscape
 

The Following User Says Thank You to soleil For This Useful Post:
Posts: 306 | Thanked: 603 times | Joined on Jan 2012 @ Belgium
#186
Originally Posted by soleil View Post
I tried to add these lines in the manifest file of Sid meier game but no luck :
This is Nokia specific stuff, and only works if you have a Java ME
runtime (and some other custom APIs) from Nokia .

phoneME is an open source implementation of Java ME, initially
developed by Sun, and now Oracle, with ports to different hardware
platforms by me. It does not have these Nokia extensions.

Cheers,
Davy
 

The Following 4 Users Say Thank You to DavyP For This Useful Post:
Posts: 72 | Thanked: 157 times | Joined on Oct 2011 @ Hungary
#187
I was trying to create a shell script for making some other shell scripts with which you can start the java applications. I'm not very good at linux but I'm wiling to learn.

I have figured out how to make this for one file. It runs perfectly but still missing that part to recognise the main calss from META-INF. I have commented out that lines because they are not working.

So there are two problems:
  1. To apply this script for a bunch of files in a folder.
  2. Get the main class out of the jar file and write it in the starter script.

Code:
FILE="coffinboff7uk1jctt.jar"
#FILEZIP="coffinboff7uk1jctt.zip"
echo -n "/home/phoneme/bin/cvm -Xmx12m -Dmicroedition.profiles=MIDP-2.1 -Dsun.midp.library.name=midp -Dsun.midp.home.path=/home/phoneme/midp/midp_linux_fb_gcc -Dcom.sun.midp.mainClass.name=com.sun.midp.main.CdcMIDletSuiteLoader sun.misc.MIDPLauncher -suitepath /home/phoneme/apps/"${FILE%%.*}.${FILE#*.} -1 "" > /home/phoneme/starters/"${FILE%%.*}.sh"
chmod +x /home/phoneme/starters/*.sh
#mv $FILE ${FILE%%.*}.zip
#cp /home/phoneme/apps/waiting/$FILEZIP /home/phoneme/apps/waiting/tmp
#unzip /home/phoneme/apps/waiting/tmp/$FILEZIP
 

The Following User Says Thank You to PanzerSajt For This Useful Post:
Posts: 440 | Thanked: 160 times | Joined on Aug 2010 @ Las Vegas, NV
#188
It would be great if something like webos games manager is developed for phone me as well.

Associate .jar and .jad with this app.
Install shortcuts menu by clicking in the jar file
Launch the file directly from hildon-menu just like any other app.

So that noobs don't have to play with scripts and command line to run apps.

thanks!
 

The Following User Says Thank You to Joseph9560 For This Useful Post:
Posts: 306 | Thanked: 603 times | Joined on Jan 2012 @ Belgium
#189
Originally Posted by Joseph9560 View Post
It would be great if something like webos games manager is developed for phone me as well.

Associate .jar and .jad with this app.
Install shortcuts menu by clicking in the jar file
Launch the file directly from hildon-menu just like any other app.

So that noobs don't have to play with scripts and command line to run apps.

thanks!
Actually, I have done something similar for my Android port. I
wrote a simple midlet manager:

http://davy.preuveneers.be/phoneme/p...droid_midp.png

If you click on a jad file in a file manager or on a jad link in a
browser, it will download and cache the corresponding jar file, add
a short cut in the midlet manager, and you would be able to run it
from there, or delete it, or ... without having to rely on shell scripts.

It doesn't create separate icons for each midlet in the main menu,
because in theory you can have multiple midlet applications in the
same midlet jad/jar file. I did this because I got these reports that
some people tried to delete one app, but noticed that a few others
stopped working as well. That is why everything goes through the
midlet manager, for which on Android there is an icon in the main
menu.

Another nice thing with the midlet manager is you can add a list of
urls to working midlets (like a midlet store), and leave it up to the
users whether they want to download and run it or not.

Unfortunately, this app is written in Java running on the Android
dalvik VM. For N900, this would have to rewritten completely from
scratch, for example in Qt4, but it would not be impossible.

There are two aspects you have to keep in mind though:
1) not all jar files are midlets, so I would argue to only associate
jad files to this app
2) error handling and reporting is a little bit less straightforward.
You have to make sure you can collect all the information you
need so that noobs can do bug reporting too. Otherwise, you get
eports like "my app does not work, can you fix it?". And this is not
really helpful.

Davy
 

The Following 2 Users Say Thank You to DavyP For This Useful Post:
santiago's Avatar
Posts: 518 | Thanked: 334 times | Joined on Mar 2010 @ italy
#190
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
 

The Following 2 Users Say Thank You to santiago For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 19:47.