I was written procedure This procedure show ProgressDialog, then send sms, then update View from another thread and hide ProgressDialog. But it seems to me, is not the best and the correct code. I would like to hear advice and my mistakes. It seems to me that it is possible to optimize the cod...