How can I get GPS data from built-in receiver?

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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top