I read a post on this forum earlier about using java to program a phone, and also noticed a download on sun java's website specifically for this. But how can a phone be connected to the computer, and how is phone programming different to programmin on PCs? can anyone tell me something about this?
thanks in advance
>I suck at this game, can you give me some pointers?
These phones run Java in the phone using a version of the JDK specifically designed for imbedded systems. It's funny that the world has finally caught up to this because imbedded systems is what Java was originally designed for. The difference in embedded systems versus PCs is two fold. The big one is the fact you're not programming FOR the computer you're programming ON. The second is the kind of system managed services that are available. E.g. you don't have a file system on a phone (today) unless it's emulated.
I know there have been articles in JDJ about it and since IBM has an imbedded plugin for Eclipse, I bet you can find something on the Developerworks or Alphaworks sites but this is probably the best starting point.
Small Devices programming as of this moment is prety tricky (regardless of any claims whatsoever).Every, prety much, hand held device supports few proprietery standards,hence making it rather difficult to write some code to make it workable universally(its even worse then the browser war we had).
If you want to use Java (J2ME) as your language of choice for writing programs/games for hand held devices,you will need to down load specific sdk from a specific vendor(ie Motorolla, Sony Ericsson, Nokia etc). They allow you to write compliant code for some specific phone models. you can find most help + tutorials at the Java(Sun) Wireless site
As ray mentioned above, Java works in a sand box environment in any hand held device,hence making it very popular amongst the small device vendors, however it may hcange in very near future. Java has added FileSystem api's in the most rescent jsr's for j2me.