Click here to Skip to main content
15,896,316 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi!

I am wondering if anyone knows of an existing code project or code for:
I have a game on two mobile devices and i want to write a project in C# which will connect two players and play between them using bluetooth tecnalogy.
Does anyone know what namespace do i need?
Is it possible to write such a program?

Thank you!!

Plony Almony
Posted

1 solution

Bluetooth uses serial communication and the SerialPort class can be used.

You will need to either:

a. Use a PC as a server to handle the communication between the mobile devices and program them in whatever language is apropriate (java seems very common and is the language used for blackberrys) using you own API design

b. Use WinMobile devices only then you can program them directly in C#

Google for 'Bluetooth C#' and you will find a few pointers to get you underway.
 
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