I developed j2me based application with LWUIT framework. Is it possible to change the this application to android based application? Or can i need to create new project?
3 Answers
You may be able to take parts of your code across as android is still java but I would say that you're going to have to rewrite most of it and probably all of the code for the user interface. J2ME and Android are designed very differently

- 4,361
- 6
- 32
- 43
-
OK. but my project is little bit big. give me any solution for this. I developed UI with LWUIT and i used some native API in j2me. like PIM.. – bharath Nov 01 '10 at 07:45
-
There is an android port of LWUIT but I can't imagine that it will be as easy as just taking the code across. – skorulis Nov 02 '10 at 03:04
You have to completely rewrite your code from J2ME to Android. I was looking for a kind of translator from J2ME->Android but find nothing. In the end I'm now converting my J2ME codes into Android. Android possibilities are much more powerful than cut-down API's of J2ME. So you'll found that your new code will be nicer than elder J2ME code.
Though if you're going just launch J2ME jar/jad in Android - it's in theory possible, since KVM is just a subset of ordinary JVM (in case of Android Dalvik VM). There're some efforts to translate KVM byte-code into Dalvik's byte-codes. For instance look here

- 16,638
- 18
- 73
- 146