I am using bluetooth to send pdf file from android mobile (Client) to pc (Server). I have the code bellow:
code mobile:
code Pc:
The problem here is that the file (even small size) takes a long time to arrive to the server and I get this exception:
java.io.IOException: Failed to write; [10053] Une connexion établie a été abandonnée par un logiciel de votre ordinateur hôte.
Please if anyone could help me I would be very appreciated.