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

please give me source code send, receive from mobile to pc

Fri Jul 24, 2009 3:15 am

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



Re: please give me source code send, receive from mobile to pc

Fri Jul 24, 2009 5:33 am

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. */

} 


Re: please give me source code send, receive from mobile to pc

Wed Jul 29, 2009 10:12 am

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

Post a reply
  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 of huffman coding ?     -  
 3d OpenGL game with source code     -  
 source code for SJF and priority for both preemptive C#     -  
 race game source code in j2me     -  
 Java Firewall Project source code     -  
 How are Java source code files named     -