Have you programed your mobile

Any help regarding any computer based programming language (non serverside) can be requested and recieved here.
mburnz
Posts: 75
Joined: Mon Aug 07, 2006 10:10 pm

Have you programed your mobile

Post by mburnz »

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?


iBye
Posts: 720
Joined: Mon Jan 29, 2007 1:39 pm

Post by iBye »

No idea but it sure sounds very cool :O
Tired of Newbies asking Questions? Tell them www.UseGoogleFFS.com
mburnz
Posts: 75
Joined: Mon Aug 07, 2006 10:10 pm

ah ha

Post by mburnz »

I found this...handy explanation from aau in denmark. That will keep me quiet for a while..
Tails5
Posts: 1302
Joined: Wed Mar 15, 2006 8:09 am
Contact:

Post by Tails5 »

The link doesn't work. Is there a mirror?
Webmaster Yoda: You must confront the cPanel. Then, and only then, a webmaster will you be.
Julius Caesar: Veni, vidi, posti
mburnz
Posts: 75
Joined: Mon Aug 07, 2006 10:10 pm

try again

Post by mburnz »

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.'
Tails5
Posts: 1302
Joined: Wed Mar 15, 2006 8:09 am
Contact:

Post by Tails5 »

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
iBye
Posts: 720
Joined: Mon Jan 29, 2007 1:39 pm

Post by iBye »

Thats cool, does it work on every phone, I think mine is to crappy.
Tired of Newbies asking Questions? Tell them www.UseGoogleFFS.com
Tails5
Posts: 1302
Joined: Wed Mar 15, 2006 8:09 am
Contact:

Post by Tails5 »

Hahaha, I'm going to get a phone that supports it. But my parent's phone doesnt even let you download ringtones O.o
Webmaster Yoda: You must confront the cPanel. Then, and only then, a webmaster will you be.
Julius Caesar: Veni, vidi, posti
Gebbo
Posts: 554
Joined: Tue May 16, 2006 3:22 pm

mobile

Post by Gebbo »

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
jasondsouza
Posts: 348
Joined: Thu Jan 12, 2006 8:24 pm
Contact:

Post by jasondsouza »

hey that seems to be real cool and yes of course it can be done.... they use java or in short J2ME.... so have your crack at it.... for tutorials search it in google .com .... don't spam by asking tutorials links in the forums
--jasondsouza
ME working on a very new site. (Coming soon)
Come to my web Site
Post Reply