Search code examples
c++cqtjava-memidp

Is there a way to make a program that runs on Java mobile phones using C++?


I am using Qt/C++ for long time now, I am supposed to develop an application the will run on mobile phones (MIDP 1.0, and MIDP 2.0). I don't program with J2ME and learning it will consume so much time. So I was wondering is there any way that makes me develop such applications using Qt or at worst case any C/C++ framework.


Solution

  • No, MIDP is a Java standard only, there is no way to run native C/C++ code on top of that virtual machine.

    The phones run the Java virtual machine for a reason; bugs aside the programs run in a sandbox and cannot cause security problems with the phone itself.