Would it be possible to have a c++ front-end to a java MIDP 1.0 application? i.e. running the j2me program from the c++ code.

This would be useful for getting the IMEI number from each phone and any other low-level features that would be good to know at the start of the program.