Click here to Skip to main content
15,894,907 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have developed a j2me application which read the gps cordinates from the internal gps of the phone and i want to transfer the values to pc's blue tooth so please help me how to get it using c# on PC
Posted

1 solution

The easiest way to use Bluetooth between a phone and a PC is probably serial port emulation. On the PC side, your code (in whatever language) would open the COMx device provided by the Bluetooth stack, and read/write just as for any other serial device.
On the J2ME side, you use the methods of javax.bluetooth to discover and connect to a device that supports service 0x1101 (Serial Port Profile). There are lots of examples on the Motorola and Nokia J2ME forums.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900