Total members 11372 |It is currently Sat Nov 01, 2014 8:24 am Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R

All times are UTC [ DST ]



  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.


Author:
Newbie
User avatar Posts: 4
Have thanks: 0 time
  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

_________________
Please recommend / share my post if you found it helpful.


Author:
Mastermind
User avatar Posts: 2694
Have thanks: 73 time
  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.

shadyarafeh@hotmail.com


Author:
Newbie
User avatar Posts: 4
Have thanks: 0 time
  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.

_________________
Please recommend / share my post if you found it helpful.


Author:
Mastermind
User avatar Posts: 2694
Have thanks: 73 time
  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.


Author:
Newbie
User avatar Posts: 4
Have thanks: 0 time
  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


Author:
Newbie
User avatar Posts: 4
Have thanks: 0 time
Post new topic Reply to topic  [ 6 posts ] 

  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     -  
 parallel port     -  
 Get Remote port     -  
 Port scan     -  
 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?     -  

All times are UTC [ DST ]









Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team