Programming for a phone - Where to start?

I am happy with programming with java

But never done anything with a phone.

1.

Is there an API to follow (different for different phones?)

2.

How would I then upload the program?

3.

Can I change current programs?

4.

Can I write games for my phone?

5.

Where do I start? Are there any tutorials?

[374 byte] By [simon_orangea] at [2007-9-28 6:47:37]
# 1
I would start by looking here: http://java.sun.com/j2me/ You could also look here http://www.gamasutra.com/resource_guide/20010917/fox_01.htm and here: http://www.oreillynet.com/pub/a/wireless/2002/11/14/game_dev.html
Breakfasta at 2007-7-9 17:58:54 > top of Java-index,Other Topics,Java Game Development...
# 2

Why bother ? Who wants to play (or even pay ? ) for dull games on their mobile phone ? I think that business will never sell good.

It's like a mobile phone with a built-in digital camera. Who wants to buy that ? Someone who is interested in photography just buys a real digital cam. And someone who is interested in games, plays games on his PC or Playstation, ...

jpwinne

jpw35a at 2007-7-9 17:58:54 > top of Java-index,Other Topics,Java Game Development...
# 3
Every economic forecaster in the technology field tells us that gaming on mobile phones is a major future market. And lets face it, economic forecasters never get it wrong, do they ? ;)
Breakfasta at 2007-7-9 17:58:54 > top of Java-index,Other Topics,Java Game Development...
# 4
Obiviously you haven't seen what kind of services stupid people pay for.Pay a visit to Finland and experience the mobile based tv chat that costs more than I'd pay for any chat. And the crowd goes wild...
Kayamana at 2007-7-9 17:58:55 > top of Java-index,Other Topics,Java Game Development...
# 5
See Nokia forum for a fiew MIDP examples. http://www.forum.nokia.com/main/1,,040,00.html?fsrParam=1%2D3&fileID=2603
AkiNieminena at 2007-7-9 17:58:55 > top of Java-index,Other Topics,Java Game Development...
# 6

>

> I am happy with programming with java

then keep well away from java on phones.

>

> But never done anything with a phone.

your the lucky 1

>

> 1.

> Is there an API to follow (different for different

> phones?)

the most official api for mobiles is J2ME CLDC/MIDP (coming in 2 flavours, MIDP1.0 and the more recent MIDP2.0)

however, there are lots of other apis around, (that are not compatible with MIDP)

Also, every single mobile manufacturer has made its own additions to the apis, to either add features, or improve performance.

>

> 2.

> How would I then upload the program?

depends on the phone :-

some phones have a data cable,

some phones have use IR,

others only allow you to download them (hence costing you money) (most nokia phones use this method >:( )

>

> 3.

> Can I change current programs?

don't know what you mean.

You can download new programs (assuming there is space on the phone)

But i think you mean, can 1 MIDlet(thats what java programs that conform to the MIDP spec, are called) invoke another

>

> 4.

> Can I write games for my phone?

if it supports a java api, then yes

>

> 5.

> Where do I start? Are there any tutorials?

wireless.java.sun.com is a good starting place

download the wireless toolkit, and the apis - and your off.

(then in 6 months time, you'll realise what an utter waste of time it was,

trying to develop for such a disorganised market)

rob,

Abusea at 2007-7-9 17:58:55 > top of Java-index,Other Topics,Java Game Development...
# 7
lol, oops forgot to answer 3)the answer is no 1 program cannot invoke/modify another.Each midlet exists in its own universe effectively.
Abusea at 2007-7-9 17:58:55 > top of Java-index,Other Topics,Java Game Development...
# 8
Rob, don't you work in this area? What do you think of v2? Is it still as ****?
mlka at 2007-7-9 17:58:55 > top of Java-index,Other Topics,Java Game Development...
# 9

> Rob, don't you work in this area? What do you think of

> v2? Is it still as ****?

for the second time of writing this post - IE crashed 1st time >:(

I used to work in that area, but luckily I got out before MIDP2.0 was made available.

I honestly can't comment on the MIDP2.0 api, as I have only had a quick browse of it - however, the root problem with MIDP1.0 was not the api itself (even though it was incredibly restrictive), but rather the appauling implementations that were done.

IMHO, Sun handed out the MIDP1.0 Compliant label FAR to ezily, and as a consequence has damaged developer support in the area.

Abusea at 2007-7-9 17:58:55 > top of Java-index,Other Topics,Java Game Development...
# 10

> for the second time of writing this post - IE crashed

> 1st time >:(

/comfort Abuse.

> though it was incredibly restrictive), but rather the

> appauling implementations that were done.

Ahh, well they is always hope that MIDP2 will be better ;)

Thou. <i>hardware acceleration may be used for all Sprites, for certain sizes of Sprites, or not at all</i> does not fill me with joy & hope.

thanks.

Mike

mlka at 2007-7-9 17:58:55 > top of Java-index,Other Topics,Java Game Development...
# 11
Please Dont think like that in near future you will have a phone with more proccesing speed on that you can play that games on phone like we play dave on the phone what play erlier on computer(1997-98) And this is the evelution of the phone ...Good luck
Rukshan-scjpa at 2007-7-9 17:58:55 > top of Java-index,Other Topics,Java Game Development...