简体   繁体   中英

J2ME application using GPS and XMLVM

I have to develop a simple mobile application which sends the mobile's GPS position to a server. The first idea was that of creating this application to run on the iPhone, but I do not know how to develop in Objective-C and my time is limited. Since I am quite familiar with Java development and prefer developing in Java, I researched technologies which would convert a Java J2ME application to an iPhone application. I found about about XMLVM and wanted to clarify the following issue:

Would XMLVM correctly convert the J2ME together with its GPS functionality? or does XMLVM not support the translation of GPS related APIs and classes?

Once XMLVM has produced the objective-c sources, you can simply compile it with xcode, using all the official libraries and whatnot. As long as XMLVM has interface classes for the iphone GPS api, you can use it. You could also just write your own, matching the official api. Obviously the GPS api probably hasn't been implemented in java so using the XMLVM simulator wouldn't use GPS, but it wouldn't die either.

And actually, I do now recall that you can even send device data to the java simulator. Whether or not this includes GPS I dunno.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM