Total members 10261 | Gratitudes |It is currently Tue May 22, 2012 5:45 pm Login / Join Codemiles


All times are UTC [ DST ]




Post new topic Reply to topic  Quick reply  [ 6 posts ] 
Author Question
 Question subject: Automatic Pairing and initialization of com port
PostPosted: Sun Apr 24, 2011 9:47 pm 
Offline
Newbie
User avatar

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.


TOP
 Profile Send private message  
Reply with quote  
 Question subject: Re: Automatic Pairing and initialization of com port
PostPosted: Mon Apr 25, 2011 2:54 pm 
Offline
Mastermind
User avatar

Joined: Tue Mar 27, 2007 10:55 pm
Posts: 2279
Location: Earth
Has thanked: 39 time
Have thanks: 61 time
i think this is what you need.
java/connecting-to-pc-from-mobile-using-bluetooth-in-java-t711.html

_________________
Currenlty programming with : java , html , php , and javascript . (OCJP-6 certified )


TOP
 Profile Send private message  
Reply with quote  
 Question subject: Re: Automatic Pairing and initialization of com port
PostPosted: Mon Apr 25, 2011 9:59 pm 
Offline
Newbie
User avatar

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


TOP
 Profile Send private message  
Reply with quote  
 Question subject: Re: Automatic Pairing and initialization of com port
PostPosted: Tue Apr 26, 2011 10:26 pm 
Offline
Mastermind
User avatar

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 )


TOP
 Profile Send private message  
Reply with quote  
 Question subject: Re: Automatic Pairing and initialization of com port
PostPosted: Tue Apr 26, 2011 10:44 pm 
Offline
Newbie
User avatar

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.


TOP
 Profile Send private message  
Reply with quote  
 Question subject: Re: Automatic Pairing and initialization of com port
PostPosted: Wed Apr 27, 2011 9:18 am 
Offline
Newbie
User avatar

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


TOP
 Profile Send private message  
Reply with quote  
Post new topic Reply to topic Quick reply  [ 6 posts ] 
Quick reply


  

 Similar topics
 Java Programing to communicating port parallel
 Need automatic adding to catalogs
 How to connect to serial port using java
 interactive voice response with automatic speech recognition
 parallel port
 Problem on BlueSoleil Serial Port Profile
 HOW I Access the Parallel Port in Java?
 Port scan
 Get Remote port
 How to find server IP, PORT using String

All times are UTC [ DST ]


Users browsing similar posts

Users browsing this forum: No registered users and 7 guests



Jump to:  
Previous Question | Next Question 




Home
General Talks
Finished Projects
Code Library
Games
Tutorials

Java
C/C++
C-sharp
php
Script
JSP/Servlets
Ajax
ASP/ASP.net
Google SEO
Database
Communications
Phpbb3 styles
Photoshop tutorials
Flash tutorials
Find a job






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