pagetop
Javablog
by Java coders, for Java codersRSS

Android… what J2ME should have been

November 12th, 2007 by Sam

Google released Android today, the Java SDK that people have been calling the gPhone… and wow! It’s what J2ME should have been, or at least what it should have turned into.

For a start, it has Java 5 language features such as generics and annotations… features that help the developer but add no additional burden at runtime. And it’s open! Besides testing and certification, the biggest problems with J2ME is not the quirks on individual handsets but the lack of an open source community. If you want to write anything in J2ME, you’re on your own. Even hunting down the Javadocs for some standard libraries is a mission in itself, never mind finding actual code! With Android, expect libraries to appear to do anything you could ever want to do.

I’ve only started looking at the way applications are written, but it seems that the layout is all defined in an XML format and the programming side happens in pure Java land. This seems like a fantastic way to do things as it lets the designers get on with their job unhindered by the programming logic… our good friend Bryan Rieger has been convinced of this as a way to write MIDlets for a long time now.

And it has webkit support for browsing the web!

And it is a single download with an Eclipse plugin! (Works on Windows, Linux and Apple… name one J2ME dev kit that works like that).

And it has a Google Data API and Google Android Maps API. Although, be careful with the licensing (note that the svn tree is not uploaded yet), as not all of it is under the Apache licence yet.

The best part is, it’s all in Java… so download the SDK, read the documentation and start programming to claim your portion of that $10 million.

I just want to know when I can get this running on my RAZR V3i instead of the absolutely useless software that it ships with. Welcome to the world of tomorrow! And to think I began the day wanting an iPhone (although, it has been a true inspiration for Android, lets be honest… especially with that Apple Dock™).

Update: apparently Android is not really Java, the JVM is different.


This entry was posted by by Sam on Monday, November 12th, 2007 at 9:02 pm, and is filed under Android, Google, J2ME, Java, Mobile, OSS, SDK. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.



6 comments on “Android… what J2ME should have been”

My work with J2ME has been like hell to me. Just from my own point of view: damn uncomfortable technology.

Just spent a few minutes poking around the layout/ui docs - really like some of the ideas (views, layouts, units, etc) they’ve included. DIP (device independent pixels) is a very interesting concept indeed.

Handsets aren’t out until mid to late 2008 :-(

The depressing thing about all of this from my point of view is that we were giving demos very much like the Android demos at SavaJe years ago.

Ah well - Google may have the clout to make it happen for real, which we never did at SavaJe. I’m not counting chickens yet, but there’s hope that Android could be the thing that (finally!) kick starts the mobile application bandwagon. Something has to sooner or later!

Android is only for google phone like openmoko for moko phone. But j2me is for every phone.

I will wait until Android is for every phone then I develop application in Android.

Bhushan Bhange wrote:

Android is tightly coupled its not liberal like J2ME. Everything is tightly coupled.

J2ME appln are slow as compared to android appln.

No access to low level features. and

android compared to iphone

iphone only in MAC os and in unfriendly objective C as compared to Java

costier than Android so many restriction on user iphone as “walled garden” no support to bluetooth ,video camera,MMS ,porn applicaton and mainly not Open source

Leave a comment

Markdown is supported.

To include code snippets in your comment, use

<pre><code># lang java
... code here ...
</code></pre>

or use 4 spaces at the start of the line instead of using code and pre tags.

Comment feed: RSS