i am developing application to recieve data from Bluetooth and transfer to the web server.
We are using active scheduler in both the cases.
From Runl() when the value is recieved we called the DoCancel()
from Docancel() we move to httpclient class to post the data.
The value posted successfully then it returns to Do cancel().
Again it retuns back to Runl(), then it moves to waitonconnectionl().