In the code below the sendSMS should be running in a background thread
can i use the AsyncTask class for this purposeI saw a similar
AlarmReceiver class where it uses locks for acquiring and
releasing...http://pastie.org/403831
Should locks be used here also..???...will putting the sendSMS()
I found out an issue that 2 AsyncTasks do not work concurrently .
i.e if there are 2 Async Tasks thread1 and thread 2 , thread 2 does
not execute until thread 1 finishes.
Is there a solution to this problem..
when i checked the AsyncTask thread pool size it is 1...i.e
CORE_POOL_SIZE=1
what if
2 matches
Mail list logo