I am developing the location based service. My code to detect the location(which is cellid) is developed in carbide c++ (series 60 II edition). The rest application is developed in J2ME. Right I want to call this location detection code through my J2ME apllication. right now I am using 2 independent applications. So I need to run my carbide c++ application in bacground and then it writes the location to a text file in the mobile device memory, the J2ME application reads this location and uses further. Cannt therer be any way I can call the carbide c++ code through J2ME so that I have a single executable application?