Problem In receiving data in mobile client sent from pc server via bluetooth


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Problem In receiving data in mobile client sent from pc server via bluetooth

  1. #1
    Join Date
    Mar 2007
    Posts
    3

    Problem In receiving data in mobile client sent from pc server via bluetooth

    hi!
    now i m stuck up with new problem...

    Now i am able to receive data that's only string in mobile 5300 but there is problem in that...
    It is like when it receives data the mobile client show that it is disconnected automatically from the connection..
    So after that i am not able to send that data to pc server as before i do anything after service search it first promplt me that it is disconnected...
    So i can read the data only once and it shows the exception that"java.io.exception:InputStream is closed"

    And after that when try to send that data to pc it shows me exception "Symbian Os error -36" is. disconnected..
    As it is obviouse that it is disconnected as it promplts me first...

    But the odd behaviour is here that when i m trying to read int it show that available bytes are 4i.e.for integer data type but it reads 0 instead integer pc has send to monile...So in this case it won't automatically get disconnected...So if i send data to pc the application will lwt me to send as many time as i want...

    So the observation of this behaviour is that when mobile receives string it reads it successfully and display it perfectly...and get automatically disconnected ...but when it read any data type except string it show the data in stream while checking with method is.available() according to data type but it doesn't read that data from stream so displaying nothing and in this case it won't get disconnected automatically...so i m able to send data to pc..

    Is there any body who has same problem ????
    Is there any body who can help me to sort out my this problem...????

    Any help from any one will be appreciated..

    Thanks....

  2. #2
    Join Date
    Oct 2007
    Posts
    2

    can U share

    hi

    can u share this project with us

    i need some example for my project

    I hope to do this togther

Similar Threads

  1. find version & service packs
    By rperez in forum Database
    Replies: 5
    Last Post: 01-02-2009, 04:14 PM
  2. Replies: 3
    Last Post: 05-15-2008, 01:56 AM
  3. Replies: 2
    Last Post: 07-30-2006, 07:43 AM
  4. winsock array problem
    By alicecooper1201 in forum VB Classic
    Replies: 1
    Last Post: 04-11-2005, 05:33 PM
  5. Data import problem
    By Tim in forum Database
    Replies: 0
    Last Post: 08-14-2000, 02:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center