I am using the Comm API, i have made a small desktop app for sending sms. I cannot send sms one after the other since it gives "Port In Use Exception".
I have closed the Input and output streams as well as the serial port but still it gives "Port in Use Exception".
Can anybody help me with this please?