<p>Coming from <code>J2ME</code> programming are there any similarities that would make it easy to adapt to <code>Android API</code>. Or is <code>Android API</code> completely different from the <code>J2ME</code> way of programming mobile apps. </p>

[{'answer_id': 66466, 'author': 'peregrine', 'author_id': 376422, 'author_profile': 'https://Stackoverflow.com/users/376422', 'pm_score': 3, 'selected': False, 'text': '<p>A good start would be to watch the Android architecture videos and look at some of the documentation.</p>\n\n<p><a href="http://www.youtube.com/view_play_list?p=586D322B5E2764CF" rel="noreferrer">http://www.youtube.com/view_play_list?p=586D322B5E2764CF</a>\n<a href="http://code.google.com/android/what-is-android.html" rel="noreferrer">http://code.google.com/android/what-is-android.html</a></p>\n\n<p>Google is very good about documenting. From what I\'ve heard Android very very similar to J2ME in its goals. It may be slightly different in programming style and structure but if you have J2ME experience you should be more then ready to move on to Android.</p>\n\n<p>Good Luck!!!</p>\n'}, {'answer_id': 79636, 'author': 'Alexandre Hauser', 'author_id': 14827, 'author_profile': 'https://Stackoverflow.com/users/14827', 'pm_score': 4, 'selected': False, 'text': "<p>Actually the Android API is much more powerful than the J2ME.</p>\n\n<p>It is much easier to create an application for the Android.</p>\n\n<p>Using the J2ME you are limited to simple forms due to the absent of swing-like libraries (though now there exists a library called LWUIT, avoiding the need to recreate from scratch a swing-like library).</p>\n\n<p>In Android you will be able to create complex form very quickly, and software package for the android SDK is easy to install (while in J2ME you have to install the wireless development toolkit from sun, or install one of Nokia's, Samsung's or SonyEricsson's... it gets a bit confusing sometimes).</p>\n\n<p>The things I had to change when switching from j2me to android were:</p>\n\n<p>1/ The font and graphics class is easier to use on j2me. The API is more thorough on Android, but also more complicated.</p>\n\n<p>2/ If you are used to the database storage of j2me (RecordStore), well you can forget it in Android. You will have to use a SQL-like databased, so be prepared to rethink your data model.</p>\n"}, {'answer_id': 93874, 'author': 'michael aubert', 'author_id': 17867, 'author_profile': 'https://Stackoverflow.com/users/17867', 'pm_score': 0, 'selected': False, 'text': '<p>Well, you may not actually need to adapt.</p>\n\n<p>There is a good chance that a J2ME stack will become available for Android before long since Android is not supposed to become as restrictive of third-party runtimes as the iPhone.</p>\n\n<p>I know one guy who has been working on just that:\n<a href="http://justanapplication.wordpress.com/" rel="nofollow noreferrer">http://justanapplication.wordpress.com/</a></p>\n\n<p>Now, of course, that doesn\'t mean you shouldn\'t have a look at the Android APIs and application lifecycle.</p>\n'}, {'answer_id': 539260, 'author': 'haseman', 'author_id': 62516, 'author_profile': 'https://Stackoverflow.com/users/62516', 'pm_score': 4, 'selected': False, 'text': '<p>I\'ve also found the path from Java ME to Android to be pretty simple.  Here are a few things I\'ve noticed:</p>\n\n<ol>\n<li><p>There is ONE ui draw thread in Android.  You have to be aware of the difference between calling <code>postInvalidate</code> and <code>invalidate</code> on Views to force them to update.</p></li>\n<li><p>The actual bit-wise graphic manipulation is very similar.  I was able to port large amounts of custom J2ME draw code by writing a few shims for <code>drawRect</code> and <code>drawImage</code>.  </p></li>\n<li><p>Android\'s UI library is much more extensive, much less useless, and much more complicated than Java ME\'s</p></li>\n<li><p>Threadwise, you have to be much more careful about thread saftey with Android.  In Java ME you can get away with not making methods synchronous or variables volatile most of the time.  Not so in Android.  </p></li>\n</ol>\n\n<p>I will say, on the whole, that Android\'s UI library fails a critical test.  I call this the "roll my own" test.</p>\n\n<p>Your UI library fails this test if it takes me longer to complete a detailed task task (say, changing the background on one individual menu item) than it would take me two write my <em>own</em> Menu from scratch.  Android fails the "roll your own" test by a factor of 3 or 4.  In fact, if you look, the majority of the questions on this website are "How do I make the Android UI toolkit do my bidding?" questions.</p>\n\n<p>Android is an amazing platform and it has been worth every frustrating moment I\'ve sunk into it. It is, however, a young platform, and needs some serious work in times to come.</p>\n'}]
['https://Stackoverflow.com/questions/64745', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/-1/']