AOO
AOO

Reputation: 11

Lib for Android and MIDP?

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 compile with? The library does not use any Android or MIDP specific stuff.

Upvotes: 1

Views: 166

Answers (1)

Barmaley
Barmaley

Reputation: 16363

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.

Upvotes: 2

Related Questions