![]() |
Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
Quote:
|
Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
Quote:
It exposes Server side API for UI in javascript (it comes with many already made scripts to control Winamp, BSPlayer, Media Player etc.) I wrote many scripts for it for my media center machine at home. I currently use it to control BSPlayer, WinAmp, PowerDVD, ACDSee, DVB recorded and live TV (using media center of Win7) , Audio mixer, Mouse pad, system operations (restart/shutdown/sleep) and many more... The client side remote is interactive - you can actually see the point in a movie/music track you're at, change it, and see the name of tracks/active media on the remote itself. |
Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
Quote:
|
Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
Quote:
I tested a filename such as "Sid_Meiers_Civilization_V_Mobile_Nokia_5800_EN_IG P_EU_TS_103", be sure you are using the correct .jar file. The game runs very quick, the only issue is that only cover 2/3 parts of the screen. |
Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
I can run the game now and yes it's not in full screen
|
Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
Is the .jad file required? Or is .jar sufficient?
|
Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
Quote:
|
Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
Quote:
normal layout. If the game canvas itself is hardcoded to a low resolution, use the zoom in CSSU trick. Davy |
Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
Quote:
main class in the MANIFEST.MF in the jar file. However, in some cases the JAD file contains additional key value pairs not in the manifest that the application might rely on. Davy |
Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
Quote:
in the phoneME port. Adding this feature may require some effort depending on the native bluetooth stack of the N900, Davy |
Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
Quote:
|
Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
Quote:
|
Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
Hi Davy, is it possible to change the phoneme font size? I changed the system font size, the phoneme UI font is'nt correct, how can i fix it?
|
Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
Quote:
|
Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
I have succesfully started some games but the problem is that I can't use the traditional layout so the numbers and special keys # * are not working therefore I can't play games that aren't made for touch java phones.
|
Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
Quote:
Small -> 18 Medium -> 26 Large -> 32 At this point, these font sizes are fixed. To ensure that text is rendered correctly, I take into account the ascent, descent and leading information of the font. If you say that the phoneME UI font isn't correct, can you perhaps make a screenshot of the problem so that I understand what is going on (as I assume it is not going to be a font size issue). Davy |
Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
Quote:
so that game play with typical feature phone buttons is also possible on a N900. This is not a trivial feature, but I added it to my feature todo list: http://davy.preuveneers.be/phoneme/?q=node/34#todo If there are other feature requests not in this list, let me know (though I cannot promise I will/can implement them all). Davy |
Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
Quote:
|
Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
3 Attachment(s)
Quote:
kind of size i see.. Other thing.. can you add this to the phoneme for maemo? It creates a jad from a jar file ;) Code:
#!/bin/bash jadmaker /path/jarfilename.jar and it makes the jad file just becouse sometimes we need a jad file too.. |
Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
Quote:
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 |
Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
Quote:
|
Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
Quote:
|
Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
Quote:
|
Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
Quote:
If the game is touchscreen only, i think that this tip won't be useful. |
Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
I tried to add these lines in the manifest file of Sid meier game but no luck :
Quote:
|
Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
Quote:
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 |
Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
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:
Code:
FILE="coffinboff7uk1jctt.jar" |
Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
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! |
Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
Quote:
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 |
Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
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
|
Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
Quote:
thanks |
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 |
Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
Quote:
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 |
Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
Quote:
You have to put all the .jar files the makejad.sh and this script in one folder and it perfectly works. Code:
#!/bin/bash |
Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
3 Attachment(s)
Quote:
thx davy! :D you made my day!!! everything seems to be ok!!! THXXXXX |
Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
Quote:
that only occurred when drawing text with a vertical alignment different from the default one. Davy |
Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
@DavyP: Can you upload your "makejad.sh" file??
|
Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
Quote:
http://davy.preuveneers.be/phoneme/p...ipts/makejadsh Davy |
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 :) |
Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
Quote:
(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 12:07. |
vBulletin® Version 3.8.8