Jump to content


COMM access in Java

- - - - -

  • Please log in to reply
No replies to this topic

#1
zacchia

zacchia

    Newbie

  • Members
  • Pip
  • 1 posts
  • Devices:i617
Hello,
I need to access the GPS in Java on the i617.

The GPS is working fine, I unlocked the phone, I can use GPSTest, I can run GPSID and set the port to COM4.

But I need to access the GPS from a Java program and after everything else failed I decided to access it using COMM as the last possibility.
In my Java program I have an instruction

System.getProperty("microedition.commports");

that should return me the available ports.
When I run the program in the simulation environment on the PC I get as result COM1,
when I run it on the BJII I get "null".

Any suggestion of why and what I can do?

Thanks,
          Anna





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users