473,407 Members | 2,546 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

send text message from PC to Mobile via bluetooth

1
Hello,,
I want to send text message from PC to Mobile via bluetooth and I wrote this code
Expand|Select|Wrap|Line Numbers
  1.  
  2.  private void send_text()
  3.         {
  4.             BluetoothRadio.PrimaryRadio.Mode = RadioMode.Discoverable;
  5.             bluetoothClient = new BluetoothClient();
  6.  
  7.         for (int i = 0; i < sayi; i++)
  8.         {                        
  9.                 InTheHand.Net.BluetoothAddress adres = this.adres_dizisi[i];
  10.                 try
  11.                 {
  12.                     bluetoothClient.Connect(new BluetoothEndPoint((BluetoothAddress)adres,service));*************  ((   in this line error
  13.                                        socketexception was found   The requested address is not valid in its context.InTheHand.Net.BluetoothEndPoint  ))  ************ 
  14.   .......................
  15. .......................... 
  16.  
  17.                 }
  18.                 catch (Exception ex)
  19.                 {
  20.                     MessageBox.Show(ex.Message);
  21.                 }
  22.             }
  23.  
What can I do to solve this problem?..Please help me..
Sep 13 '11 #1
0 1466

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Developer | last post by:
Whenever we have a change in our customers' data we need to send out an SMS (Simple Message Service) text message to the customers mobile phone, to those who have opted to receive. We would like to...
6
by: Larry Woods | last post by:
I have a situation where I need to send a text message to a cell phone. Any ideas? TIA, Larry Woods
1
by: DaleMan | last post by:
I'm looking for some help on how to dial a phone number in my application and send a text message to the portable machine that answers the call (cell phone, Palm, etc..). Anyone know of any sites...
4
by: Rich Wallace | last post by:
Hi all, Is it possible to send a text message to a Sprint PCS phone programmmatically? I've been searching for any type of open source components or web services with no results thus far. I...
2
by: Bill Nguyen | last post by:
I need to know how send text message to a dialog box/ form to show progress of a process running in background. An example would be helpful. Thanks Bill
2
by: John | last post by:
Can anyone help me in coding a script that can send a text message typed to the script like. sendmessage 6318019564 "test message" What I want to do is fill up this information on this...
1
by: jtmphp | last post by:
I have a site written in PHP and a MySql database. I allow my users to enter in information which includes (uploading an image) and I create a row for each user. I display their row information in...
0
by: phpuser123 | last post by:
Using the bluetooth API in j2me, I want to send a message to another mobile phone. I have been able to discover devices and services on the corresponding devices. I have also been able to connect to...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.