Page 1 of 1

Java Applet Problem - Electronic Signature

Posted: Mon Jun 28, 2004 6:33 am
by Noodleman
I hope somebody can help with this, im not a developer, although I do know enough to get me by.

I downloaded a java applet, that would capture mouse movements, or electronic pen movements. Effectivly drawing. The applet would pass a single string containing coordinates. The numbers are plotting points for lines. Each 4 numbers represent (x1, y1) , (x2, y2) for a line.

The string is passed to a PHP script i have written, that will re-build the image, and save it as a file to the web-server. This is fully working, when I use my desktop pc, and IE. (yay)

I need to port this onto a PDA/PALM/IPAQ device. I have installed CrEmE which is a Java VM for palm OS devices. When i visit the URL, the appalet loads, and displays the drawing area, i can squiggle/sign the area and submit the form.

For some reason, the applet will not generate the coordinates, so it is passing a blank string to the php script. Thus, creating a blank image. After half a day of playing about with it, I decided that the applet is just not compatable with the device.

So, i get to thinking, mayby I should write something myself, or, mayby somebody can help me out by pointing me in the right direction, or even some sample java code. (I actualy do not know any java at all DOH!). The applet must be compatable with palm os, and the palm version of IE.

Any idea's / sugestions / work arounds etc would be good.