Has anyone had a crack at this (ie developed an application on a computer to run on a mobile phone) and would care to explain how they did it? Can you show us the steps to get a 'hello world' application up.
Can any one suggest any (free) resources?
It has to be java right?
Have you programed your mobile
No idea but it sure sounds very cool :O
Tired of Newbies asking Questions? Tell them www.UseGoogleFFS.com
ah ha
I found this...handy explanation from aau in denmark. That will keep me quiet for a while..
try again
I just checked it out and the link was ok.
I also downloaded the java thing and and netbeans and the mobile netbeans blah blah blah, installed all and then downloaded a little program called 'helloworld'. Proceeding as instructed created a new project and compiled said program. Then when I found where the .jar file was stored I loaded it on to the mobile using the sw that came with that. Hey presto the new item on the phone's collection menu does what it say on the tin and puts up a little line 'hello world'.
That was a bit boring so I had a look around java.com and found the free games demo, downloaded the source then compiled etc. Now I have a snake game like my old phone used to and a push puzzle.
I havn't done any coding yet and I forsee problems.
I am used to languages where the 'hello world' program is something like
START
PRINT ('Hello world')
END
In Java its
import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;
public class HelloWorld extends MIDlet {
Display display;
Form form;
public void destroyApp(boolean unconditional) {
notifyDestroyed();
}
public void pauseApp() {
}
public void startApp() {
display = Display.getDisplay(this);
form = new Form("Helloworld example");
form.append("Hello World!");
display.setCurrent(form);
}
}
Couldn't they make it any more complicated?
I am reminded of the saying
'Why be difficult when with a little effort you can be b***y impossible.'
I also downloaded the java thing and and netbeans and the mobile netbeans blah blah blah, installed all and then downloaded a little program called 'helloworld'. Proceeding as instructed created a new project and compiled said program. Then when I found where the .jar file was stored I loaded it on to the mobile using the sw that came with that. Hey presto the new item on the phone's collection menu does what it say on the tin and puts up a little line 'hello world'.
That was a bit boring so I had a look around java.com and found the free games demo, downloaded the source then compiled etc. Now I have a snake game like my old phone used to and a push puzzle.
I havn't done any coding yet and I forsee problems.
I am used to languages where the 'hello world' program is something like
START
PRINT ('Hello world')
END
In Java its
import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;
public class HelloWorld extends MIDlet {
Display display;
Form form;
public void destroyApp(boolean unconditional) {
notifyDestroyed();
}
public void pauseApp() {
}
public void startApp() {
display = Display.getDisplay(this);
form = new Form("Helloworld example");
form.append("Hello World!");
display.setCurrent(form);
}
}
Couldn't they make it any more complicated?
I am reminded of the saying
'Why be difficult when with a little effort you can be b***y impossible.'
I see your point, infact one "Hello World" program just consists of 1 line:
Code: Select all
mob/Login(){usr<<"Hello World")
Webmaster Yoda: You must confront the cPanel. Then, and only then, a webmaster will you be.
Julius Caesar: Veni, vidi, posti
Thats cool, does it work on every phone, I think mine is to crappy.
Tired of Newbies asking Questions? Tell them www.UseGoogleFFS.com
mobile
no i havent programmed my mobile but now that youve brought it up i have a lot of ideas of what to do :P
.............................:: Spirit of Fire ::..................................
![Image](http://i69.photobucket.com/albums/i48/Gebbbo/Spiritoffire.jpg)
![Image](http://i69.photobucket.com/albums/i48/Gebbbo/Spiritoffire.jpg)
-
- Posts: 348
- Joined: Thu Jan 12, 2006 8:24 pm
- Contact: