 |
Author |
Topic: running an applet on Palm OS (Read 1935 times) |
|
st33d

|
running an applet on Palm OS
« on: Feb 20th, 2005, 9:08pm » |
|
Anyone have any links to how this is done please?
|
I could murder a pint.
|
|
|
aLex_wHite
|
Re: running an applet on Palm OS
« Reply #1 on: Mar 15th, 2005, 6:04pm » |
|
Hi st33d, Are you refering to running any applet on PalmOS (install JVM, convert applets, and so on) or just running P5 applets on PalmOS systems? If that is the former, you can check out this page: http://www.palmos.com/dev/tech/java/ Basically, you need to download either MIDP1.0 or MIDP2.0 toolkit (depending on which PDA you are targetting, and this will feature an converter which take any jar file and outputs a prc PalmOS-executable file. You can configure most of the conversion process, like external librairies needed. I already tried this with J2ME games targetted for java phones: sometimes worked, sometimes did not. Never tried with P5 applets, but sounds interesting. EDIT: best first step is Websphere Micro Enivironment Toolkit for PalmOS (needs PluggedIn account to log in): http://pluggedin.palmone.com/regac/pluggedin/auth/Java1.jsp
|
« Last Edit: Mar 15th, 2005, 6:18pm by aLex_wHite » |
|
|
|
|
st33d

|
Re: running an applet on Palm OS
« Reply #2 on: Mar 16th, 2005, 12:54am » |
|
It doesn't like Processing .jars. I think it needs a .jad file as well and it complains that there is no manifest file in the .jar. I haven't touched eclipse or any other java development tool so I'm pretty unsure how one pulls this particular rabbit out of the hat. Pity really, portable showing off would be great.
|
I could murder a pint.
|
|
|
aLex_wHite
|
Re: running an applet on Palm OS
« Reply #3 on: Mar 16th, 2005, 9:21am » |
|
Just looked for information yesterday. JAD files are created by the J2ME Wireless Toolkit from Sun, which lets you create, manage and build J2ME projects for mobile devices (features an emulator and stuff). I also remembered than when developing mobile applications with J2ME, so called MIDlets, you must inherit from MIDlet class. I am no java sound programmer, but it may not be possible to inherit from both MIDlet and BApplet classes, unless one of them is an interface. However I remembered some article about designing games with J2ME and API was somewhat close to P5 one (with event handlers, game loop, etc.). I do not have time now to go deeper on that topic but that may be quite interesting.
|
|
|
|
|