Switch to full style
Java2 codes,problems ,discussions and solutions are here
Post a reply

Automatic Pairing and initialization of com port

Sun Apr 24, 2011 9:47 pm

hello all

i have a graduation project and it's dead line is after one week

and every thing is done except the code that i will use on any phone (not a constant phone) to turns on the Bluetooth and start a connection with a fixed computer (administration center computer ) (only one phone can be connected at a time) . so plz help me as fast as you can



in brief : i need a code to start the Bluetooth and connect to my computer automatically , and if i can make the com port number constant then it will be perfect .


plz plz help me as fast as possible.



Re: Automatic Pairing and initialization of com port

Mon Apr 25, 2011 2:54 pm

I think you will need this project:
java/how-to-connect-to-serial-port-using-java-t553.html

Re: Automatic Pairing and initialization of com port

Mon Apr 25, 2011 9:59 pm

dear msi

i have seen your post but when i test the code it's not working

can u communicate with me on my e-mail for additional info.

[email protected]

Re: Automatic Pairing and initialization of com port

Tue Apr 26, 2011 10:26 pm

please post the exception happened with you to share information with others. note that this code is for Bluetooth connection . actually i used Bluetooth adapter with my laptop.

Re: Automatic Pairing and initialization of com port

Tue Apr 26, 2011 10:44 pm

i can not resolve the package addition problem which are the following:
javax.bluetooth.DiscoveryAgent
javax.bluetooth.localdevice
javax.bluetooth.uuid
import javax.microedition.io.connector
import javax.microedition.io.streamconnection
import javax.microedition.io.streamconnectionnotifier


and when i add the file bluecove.jar to the library the (package is not found) error is resolved but the functions are not fount such ass (uuid)

plz help me as fast as possible.

Re: Automatic Pairing and initialization of com port

Wed Apr 27, 2011 9:18 am

the main error is in the mobileor.gui because the package is not complete

plz send for me the complete code including the mobileor_gui class

Post a reply
  Related Posts  to : Automatic Pairing and initialization of com port
 Need automatic adding to catalogs     -  
 try-with-resource automatic handling     -  
 Automatic change to webpage background image     -  
 Get Remote port     -  
 Port scan     -  
 parallel port     -  
 Writing a Counter to any PORT     -  
 How to connect to serial port using java     -  
 How to find server IP, PORT using String     -  
 HOW I Access the Parallel Port in Java?     -