H
Homeycat
Can I use Java to get data from built-in GPS receiver?
The device I am working on is Gigabyte G-smart MS800, which announces
that supports CLDC-1.1 and MIDP-2.0 (and I've write code to verify
it).
However, when I try to access data from serial port using code like
here (http://java.sun.com/javame/reference/apis/jsr118/javax/
microedition/io/CommConnection.html), it comes with an run-time
exception message: "Configuration comm is not found." (The message may
not be exactly the same because I'm in Chinese environment.)
The reason why I do this is because my colleagues have successfully
write codes to get gps data using c# from serial port COM4. Now I
guess the JVM implemented on MS800 doesn't support CommConnection.
Then I've got the questions:
1) Is my guess right?
2) how can I write my own gps application like with c#? How is it
possible or never?
I am new to J2ME and may say something that is conceptually wrong. I
really hope someone can help me solve the problem. Any opinion will
certainly be appreciated!
The device I am working on is Gigabyte G-smart MS800, which announces
that supports CLDC-1.1 and MIDP-2.0 (and I've write code to verify
it).
However, when I try to access data from serial port using code like
here (http://java.sun.com/javame/reference/apis/jsr118/javax/
microedition/io/CommConnection.html), it comes with an run-time
exception message: "Configuration comm is not found." (The message may
not be exactly the same because I'm in Chinese environment.)
The reason why I do this is because my colleagues have successfully
write codes to get gps data using c# from serial port COM4. Now I
guess the JVM implemented on MS800 doesn't support CommConnection.
Then I've got the questions:
1) Is my guess right?
2) how can I write my own gps application like with c#? How is it
possible or never?
I am new to J2ME and may say something that is conceptually wrong. I
really hope someone can help me solve the problem. Any opinion will
certainly be appreciated!