Mobile Java apps, games, reviews, tips, tutorials, news
Google+TwitterLinkedinFacebook
Subscribe
HomeJava Mobile DevelopmentMy mobile Java application won't run on all Java-enabled phones?

My mobile Java application won’t run on all Java-enabled phones?

I thought Java is suppose to be write once and run anywhere, why on earth won’t it run on all mobile phones that support mobile Java? At some point while you’re learning to create your own J2ME software, you will probably need to find out which mobile phone your midlet software will run on.

Creating a mobile Java software has its challenges and one of the is trying to get a list of mobile phones that will support the features you plan to have on your mobile application or mobile game. The length of the mobile phone list will greatly depend on the list of features that your application is using.

Obviously not all mobile phones are created equal. For instance, some mobile phones have bluetooth while others don’t. Or some have a GPS module and other mobile phones don’t. Your application’s ability to use this feature will depend on whether the Java platform on that mobile phone has support for a certain JSR.

What’s a JSR or Java Specification Request? To explain it as simple as possible, it’s a specification of an API that will enable your Java mobile software to use a certain feature of a given mobile phone. There are different JSR’s. For instance JSR 82 provides the API for using the bluetooth on a mobile phone while JSR 179 provides an API for location-based functions that allow you to determine the physical location of a mobile phone.

Since not all mobile phones have bluetooth or a GPS if you plan to use those features on your mobile Java software, you will have to get a list of mobile phones where your J2ME software will run.

Which mobile phone support which JSR? Good question. Same question came to me. I initially had the idea of compiling an exhaustive list of all mobile phones and their supported JSR’s. Before doing it, I did a quick Google ‘coz I’m sure people will need such a list and chances are somebody is already maintaining one.

Here’s where I found one. The people at Enough Software in Germany is actually already maintaining one such list. You can find the database with an interactive search page at J2ME Polish. For example to here’s a link to all mobile phones in their database that supports JSR 82.

There’s more than 700 mobile phones on the list and if you want to help update the list you can install a J2ME application that they have created on your mobile phone to save it’s configuration. You can then upload the data into their database to help in creating the current list.

So if you might need to get a list of which mobile phones support a specific JSR just go to the J2ME Polish web site. Better yet help them maintain the list by including information about your mobile phone if it’s not yet available on the database.

If there’s any other site that you know of that maintains a similar list, please post it here as a comment providing the link to the site to help other mobile developers. Thanks.

Responses

  1. rajath says

    thanks for the Polish website; it’s very useful for mobile developers. I’m particularly interested in OTA transmission of apps. In view of this, if there is a way of obtaining the information from the mobile handset of the JSRs it supports, then the JAR files can be instrumented on the server before downloading. Still searching if there is such a way possible.
    Rajath

  2. kihbord says

    I also wish that there is a simple way to solve the it.

  • Hi, I'm Gerry. Welcome to my blog and sites about mobile, technology, The Pinoy, #crazyidea, games, WordPress, Ubuntu, Mac, iOS, Android, Symbian... I started sites like Ortigas Online and iMakati which focuses on local community information. Read more about Gerry
    Status (Twitter, Linkedin, Facebook...)

    Just found out that the Android-based HTC Sensation XL phone is now in the Philippines for about Php 28,000.

  • Visit my other sites

    • Gerry

      My blog about the Philippines, mobile, technology, games, mac, linux...

    • Apps & Games

      Reviews, news of mobile apps & games for Android, iOS, Blackberry, Symbian...

    • Connected Phone

      The computer is the mobile phone. The always connected phone evolution.

    • Mobile/Web Development

      Mobile/Web apps, development, services for Android, iPhone & WordPress.

    • Pinoy Me

      Pinoy businesses, enterprises, startups, professionals all over the world

  • PINOI Sites

    Are you interested in putting up your own PINOI-enabled local community site? Contact me

    • PINOI

      Enabling local communities on the Internet

    • Makati

      iMakati.com is a site that provides information about Makati City.

    • Ortigas

      Community site that provides information about the Ortigas Center.