开发者

Sharing code across mobile plataforms

Is it possible to share a Java application across several mobile platforms (Android, BlackBerry, Symbian, etc) regarding of Android is a Java SE (almost compliant), BlackBerry is JavaME, etc?

Thanks in advance.

EDIT:

I'm not talking about GUI which it won't be possible.

There is another things which do I have to take care ?, i.e Vector instead of List.

T开发者_StackOverflowhreads?

Memory management?

Storage management?

Items referred above is where my interest particularly is focused on.

Thanks all for your answers.


You can keep your code as long as it's compatible with JME (more or less Java SE 1.3) and it only uses libraries compatible.

You can't really keep your GUI and almost everything will have to be recoded.

To sum up, you can keep most of your domain objects as long as it doesn't uses syntax from last Java versions, but the rest will have to be rewritten.

The best thing to do is to rewrite everything IMO.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜