Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [BETA RELEASE] PhoneME Advanced (Java Mobile)

    Reply
    Page 19 of 85 | Prev | 9   17     18   19   20     21   29 | Next | Last
    santiago | # 181 | 2012-02-10, 22:31 | Report

    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!!

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by santiago; 2012-02-10 at 22:36.
    The Following User Says Thank You to santiago For This Useful Post:
    pedsarjon

     
    Guinoak | # 182 | 2012-02-10, 23:02 | Report

    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?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Guinoak For This Useful Post:
    pedsarjon

     
    Brian_7 | # 183 | 2012-02-10, 23:06 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Brian_7 For This Useful Post:
    pedsarjon

     
    Brian_7 | # 184 | 2012-02-10, 23:09 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    soleil | # 185 | 2012-02-10, 23:35 | Report

    I tried to add these lines in the manifest file of Sid meier game but no luck :
    Originally Posted by
    Nokia-MIDlet-Original-Display-Size: 640,360
    Nokia-MIDlet-Target-Display-Size: 854,480
    Nokia-MIDlet-App-Orientation: landscape

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to soleil For This Useful Post:
    pedsarjon

     
    DavyP | # 186 | 2012-02-11, 09:04 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to DavyP For This Useful Post:
    fw190, Joseph9560, pedsarjon, vi_

     
    PanzerSajt | # 187 | 2012-02-11, 10:57 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to PanzerSajt For This Useful Post:
    pedsarjon

     
    Joseph9560 | # 188 | 2012-02-12, 02:00 | Report

    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!

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Joseph9560 For This Useful Post:
    nkirk

     
    DavyP | # 189 | 2012-02-12, 10:21 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to DavyP For This Useful Post:
    Joseph9560, pedsarjon

     
    santiago | # 190 | 2012-02-12, 10:31 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to santiago For This Useful Post:
    Joseph9560, pedsarjon

     
    Page 19 of 85 | Prev | 9   17     18   19   20     21   29 | Next | Last
vBulletin® Version 3.8.8
Normal Logout