Posts: 28 | Thanked: 1 time | Joined on Oct 2007 @ London UK
#1
I wrote an applet years back to play draughts (checkers in the US) - I wondered how hard it would be to make it into an application for my n800 (OS2008). Is there a simple process to convert an applet into an executable so that the user doesn't need to download extra software?

Cheers for any advice

Mike
 
Posts: 61 | Thanked: 7 times | Joined on Aug 2007 @ Kassel, Germany
#2
i am no java guru, but i think if it is written using AWT and the needed UI libraries are supported by Jalimo packages, your chances are quite high to be able to run the applet as an application (with enough changes and tests).

all the best!
 

The Following User Says Thank You to wahlau For This Useful Post:
Posts: 28 | Thanked: 1 time | Joined on Oct 2007 @ London UK
#3
Do you know what tools I need to produce an executable?
Would it be an executable that anyone could download and run or would they need to install java?
Can I do the development on my PC (XP) first?

Thanks for your reply

Mike

PS These are the libraries I call so I assume I'm ok
  • import java.applet.Applet;
  • import java.awt.Color;
  • import java.awt.Component;
  • import java.awt.Dimension;
  • import java.awt.Event;
  • import java.awt.Font;
  • import java.awt.Graphics;
  • import java.awt.Image;
  • import java.awt.Rectangle;
  • import java.awt.Toolkit;
  • import java.io.PrintStream;
  • import java.util.Date;
  • import java.util.Random;
  • import java.util.HashMap
PS2 apart from writting this program in Java I know very little else about the language. I didn't use any clever menus so I assume that will help towards porting it across.
 
Posts: 28 | Thanked: 1 time | Joined on Oct 2007 @ London UK
#4
Bump.

I see lots of applets on the device ie desktop > home > applet settings

but I just don't see any .class files when I do a search - I tried a unix find as well and saw nothing either. If I had a class file can I just drop it onto the machine and run it as an applet? If not what do I need to do to get my own applet to run?
 
Posts: 479 | Thanked: 641 times | Joined on Dec 2007 @ Switzerland
#5
Originally Posted by mike_bike_kite View Post
Bump.

I see lots of applets on the device ie desktop > home > applet settings

but I just don't see any .class files when I do a search - I tried a unix find as well and saw nothing either. If I had a class file can I just drop it onto the machine and run it as an applet? If not what do I need to do to get my own applet to run?
Those are not applet in the Java sense of the word. In fact the applets you see are just "standard" application for the home screen of the N800, written in C/C++/Python/??, but not Java for sure.

In fact there's no official support of Java on the N800, nor on the N900 for that matter.
 

The Following User Says Thank You to lorelei For This Useful Post:
Posts: 28 | Thanked: 1 time | Joined on Oct 2007 @ London UK
#6
Ah - that explains it - thanks
Mike
 
Andre Klapper's Avatar
Posts: 1,665 | Thanked: 1,649 times | Joined on Jun 2008 @ Praha, Czech Republic
#7
This has been asked a lot of times here. For future reference, searching first is welcome.
__________________
maemo.org Bugmaster
 
Posts: 28 | Thanked: 1 time | Joined on Oct 2007 @ London UK
#8
Yes I searched the site for java posts - sadly the site is so slow that it quickly becomes painful to work through more than a few threads - none of which had the answer I was looking for. Must admit I can't even find a link to show me all my own posts which currently means (for me) searching for my user name, finding nothing and being sent to an advanced search page, then copying and pasting my name into the user field and then pressing search again. Each search part takes approx 10 seconds (is the server run on an n800??). Maybe there's a simple link I'm missing?
 
YoDude's Avatar
Posts: 2,869 | Thanked: 1,784 times | Joined on Feb 2007 @ Po' Bo'. PA
#9
Originally Posted by mike_bike_kite View Post
Yes I searched the site for java posts - sadly the site is so slow that it quickly becomes painful to work through more than a few threads - none of which had the answer I was looking for. Must admit I can't even find a link to show me all my own posts which currently means (for me) searching for my user name, finding nothing and being sent to an advanced search page, then copying and pasting my name into the user field and then pressing search again. Each search part takes approx 10 seconds (is the server run on an n800??). Maybe there's a simple link I'm missing?
It would be pr'oly easier to convert your JAVA apps to SWF files if you ant to store them locally to use in the browser...

Try the checkers game found here >> http://talk.maemo.org/showpost.php?p=288466&postcount=2
 
Reply

Thread Tools

 
Forum Jump


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