Will a MIDP2 packaged class library run on a MIDP1 phone?
Slightly random question, but will a MIDP2 packaged class library run on a MIDP1 phone?
Basically, I'm creating a class library which ideally I'd like to reuse in both MIDP1 and MIDP2 applications. But I'd rather not have to create 2 separate compatible class libraries if you get my meaning.
So in my library I would have a runtime check for what platform I'm running, then avoid the classes that are not compatible (i.e. the MIDP2 classes that aren't implemented in MIDP1 and therefore won't run in MIDP1).
I know it sounds a bit backward-thinking since MIDP1 is old stuff, but there's a lot of old phones out there, including recycled ones in the third World that can still be targetted.
Ideas, comments welcome!