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
Suppose I have 5 Layout to be inflated at the start of the application . Is
it a good practice to inflate the views in aysnc task and onPostExecute of
Async task add that inflated view to the parent layout..
--
You received this message because you are subscribed to the Google
Groups "Android
3 matches
Mail list logo