Java on mobiles: Write once, run... once?

By Matt Loney
04 September 2002 08:50 AM
Tags: write on, java, mobile, phones, games, developer, handset, promise
Java on mobile platforms is not living up to the promise of letting programmers "write once, run anywhere", according to developers gathered in London last week.

The Java programming language was built on the premise that a program written in it can run on any platform that has a Java Virtual Machine. This works to varying degrees on PCs and servers. But as more and more phones reach the market with Java virtual machines built in, it is becoming apparent that the cross-platform benefits of Java simply do not apply here in the same way, said the developers.

At stake is the promise of mass market economics for Java software on mobile phones and PDAs. Without standards, which would help assure that Java written for one phone would work on another, the promised economic benefits may never materialise.

Jon Newth, founder of Kuju entertainment, which is now a part of games giant Eidos, said it is the consensus among games developers that Java will be "the next big thing" in mobile phones. "But it clearly has not reached the stage of write once, run anywhere," said Newth. Part of the problem, he added, is that Sun, which created Java and controls the language through the Java Community Process, is not in a position to enforce hardware standards with handset makers.

Brian Rodway, managing director of Affinity Studios, which counts among its clients Nokia and Crawfish Interactive, agrees. "If you go to Sun's Web site there are 56 devices that are J2ME compliant," said Rodway, referring to the Micro Edition version of Java that was developed for mobile phones and other low-powered devices. "But there are 24 different screen resolutions. Write once run anywhere just doesn't happen." A developer who wants to write a game for every device would have to do 24 versions just for the different screen sizes, he noted. "Then there are different sound capabilities, different colour depths and so on. We will never get mass market economics without standards."

Even handset manufacturers appreciate the problem. Paul Goode of Motorola, who chairs the Mobile Gaming Interoperability Forum, said the problem hitting a lot of developers is that they are used to a homogeneous platform with a common set of tools. "In the mobile industry we have managed to take that homegeneity and fragment is across servers, handsets, the networks, and the billing. And we now ask developers to write games."

The industry is beginning to realise the extent of the problem. On 7 November, the major handset makers will meet to present their roadmaps to each other, said Goode, adding that they hope to get Sun in the same room to lay out the roadmap for J2ME. And later this year a number of industry groups, including the SynML Initiative, WAP Forum and MMS Consortium, are expected to merge with the Open Mobile Alliance, he added.

"If we are to deliver the promise we have to ensure fast development time and deployment," Goode said.

The current dissatisfaction is a story repeated across the industry, and it is likely to have a big effect on which handsets survive; only the most popular handsets are likely to get the best games.

Developers estimate that porting a game to a second phone can cost 20 percent extra in development. Less popular handsets, therefore, even if they have bigger screens and better sound, may lose out to the lowest common denominator in games and applications.

Mobile games developer Morpheme's co-founder and managing director, Matt Spall, said the company has to choose very carefully which platforms it develops for. "We will concentrate on smaller screens because they have more market appeal," said Spall, adding that if there were even five or six standards covering the same number of different phone formats, the situation would improve.

"If we can get 80 percent of the code to work across five or six handsets that cover half a dozen standards it won't be so bad." But, he said, it is simply not possible to develop Java games for 24 different screen sizes.

Chris Wright of Digital Bridges agreed. "As a publisher (of mobile games), we see a fragmented market," said Wright. "We have to choose very carefully which devices we want to hit." The cost of cost of development, he said, rises fast with the number of platforms that are supported. "We won't hit 24 devices -- if we do so then it will be with very low end titles."

For some, however, standardisation is not the key. Digital Bridges founder Kevin Bradshaw, who now heads up investment group Machines That Go Ping, said, "One thing about standards is that they tend to be two to three years behind the edge of innovation. It would be nice to see standards, but developers are smart, and can work around the problem."

One thing going for mobile phones, said Bradshaw, is that the number of users is so high -- "in the tens of millions" -- that it can be economical to develop better games for the more popular devices, so the manufacturers can use them as a differentiator.

Others say that if Java does not fulfil its promise soon, there is no shortage of alternatives. Qualcomm recently unveiled the first major upgrade of its Brew technology, and phones are now appearing with Macromedia's Flash technology, which has the benefits of automatically scaling graphics and text to any size of screen. It is compact, they say, and well-established -- with many thousands of games already available.

Advertisement

Talkback 1 comments

    This article blames Sun & ...Mahesh Deshpande -- 01/03/03

    This article blames Sun & Java for not having portability across the mobile handsets. In my opinion it is neither Sun nor Java are responsible for the portability. The reason being "There is no standardization of compatibility in handsets. (Like in PCs we say that it is "IBM PC compatible"). Secondly handsets are not classified as Computers (like super, mini etc) hence it would be very difficult for Sun and Java (as language) to accomodate all the varying hardwares in mobile handsets. As of now I feel it is the handset manufacturer who should develop their JVM that will consider Java bytecode instructions and mobile hardware used by them. (for eg. A handset manufacturer should write JVM in such a way that a Java program written for bigger screen size mobile should get executed to a certain extent on his handsets. Remember even on the web page also there is an instruction "Bset viwed in 800x600 screen resolution.")
    I feel this is the time now for handset manufacturers to standardize the hardwares related to execution of programs written in various languages.

Latest Videos

Sponsored content

Power Centre - Content from our premier sponsors

Blogs

  • Suzanne Tindal IT: Govt's cost-cutting bitch
    The government needs to stop looking at IT as a necessary evil or the place to remove costs when the Treasurer comes calling.
  • Array Can complaints on mobile content be cut?
    On 1 July this year the new Mobile Premium Services Code was introduced. It sounds like it's had a good impact, but is it enough?
  • Array NZ farmers: Bleating about broadband
    As we know, farmers are such bleaters. They bleat as much as the four-legged woolly things in their paddocks. If it's not the weather, it's the strength of the dollar! Nothing is ever right. Likewise with rural broadband.
  • More blogs »

Tags

Back to top

Featured