开发者

Lib for Android and MIDP?

开发者 https://www.devze.com 2023-02-01 01:47 出处:网络
Is it possible to share a Java library (in the form of a jar file) between Android and MIDP projects? If that is the case, which Java version should I c开发者_StackOverflow社区ompile with? The library

Is it possible to share a Java library (in the form of a jar file) between Android and MIDP projects? If that is the case, which Java version should I c开发者_StackOverflow社区ompile with? The library does not use any Android or MIDP specific stuff.


No it's impossible, since Android and J2ME use different VM. Android's one called Dalvik VM and J2ME's KVM - so they're generating different bytecodes.

0

精彩评论

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