Question subject: Automatic Pairing and initialization of com port
Posted: Sun Apr 24, 2011 9:47 pm
Joined: Sun Apr 24, 2011 12:12 am Posts: 4 Has thanked: 0 time Have thanks: 0 time
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.
msi_333
Question subject: Re: Automatic Pairing and initialization of com port
Posted: Mon Apr 25, 2011 2:54 pm
Joined: Tue Mar 27, 2007 10:55 pm Posts: 2279 Location: Earth Has thanked: 39 time Have thanks: 61 time
_________________ Currenlty programming with : java , html , php , and javascript . (OCJP-6 certified )
ShadyArafeh
Question subject: Re: Automatic Pairing and initialization of com port
Posted: Mon Apr 25, 2011 9:59 pm
Joined: Sun Apr 24, 2011 12:12 am Posts: 4 Has thanked: 0 time Have thanks: 0 time
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.
shadyarafeh@hotmail.com
msi_333
Question subject: Re: Automatic Pairing and initialization of com port
Posted: Tue Apr 26, 2011 10:26 pm
Joined: Tue Mar 27, 2007 10:55 pm Posts: 2279 Location: Earth Has thanked: 39 time Have thanks: 61 time
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.
_________________ Currenlty programming with : java , html , php , and javascript . (OCJP-6 certified )
ShadyArafeh
Question subject: Re: Automatic Pairing and initialization of com port
Posted: Tue Apr 26, 2011 10:44 pm
Joined: Sun Apr 24, 2011 12:12 am Posts: 4 Has thanked: 0 time Have thanks: 0 time
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.
ShadyArafeh
Question subject: Re: Automatic Pairing and initialization of com port
Posted: Wed Apr 27, 2011 9:18 am
Joined: Sun Apr 24, 2011 12:12 am Posts: 4 Has thanked: 0 time Have thanks: 0 time
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