Total members 11894 |It is currently Thu Nov 21, 2024 5:39 pm Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





hi all!
please give me source code send, receive from mobile to pc in bluetooth in java
thank you very much.




Author:
Newbie
User avatar Posts: 2
Have thanks: 0 time

Code:
void ReadPort()

{
    DWORD dwRead;        
    char  chRead
[250];  

// remember to adjust 250 according to the total data read

       
         char 
*count = NULL;
     
/* flush the old values and fill with some arbitary symbol 
   thats most unlikely to appear in your data to know
   the end point after reading */

    memset(chRead,'\x91',250);  

    Sleep
( 5L);

    ReadFile(hComm, chRead, 250, &dwRead, NULL); 

/* now chRead contains data . you can manipulate
   it accoring to your needs now. */

} 



Author:
Newbie
User avatar Posts: 29
Have thanks: 0 time

Check the folllowing link
java/connecting-to-pc-from-mobile-using-bluetooth-in-java-t711.html

_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time
Post new topic Reply to topic  [ 3 posts ] 

  Related Posts  to : please give me source code send, receive from mobile to pc
 i want code for connecting mobile and pc can u send me code     -  
 Source Code for protocol     -  
 3D c++ game with source code     -  
 Source Code that consist of DES, AES, RSA     -  
 source code for SJF and priority for both preemptive C#     -  
 source code of huffman coding ?     -  
 3d OpenGL game with source code     -  
 How are Java source code files named     -  
 race game source code in j2me     -  
 Java Firewall Project source code     -  



cron





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com