How do I pass my Dialog to onPreExecute? -jm
2012/1/16 Kostya Vasilyev <kmans...@gmail.com>: > ... and this: > > textViewAuthenticating = (TextView) > dialog.findViewById(R.id.TextViewAuthentication); > > belongs in onPreExecute, or elsewhere on the UI thread, *not* in > doInBackground. > > 16 января 2012 г. 23:24 пользователь Streets Of Boston > <flyingdutc...@gmail.com> написал: >> Why are you starting yet another thread in doInBackground()? >> The method doInBackground is already called in a separate (background) >> thread. No need to yet spawn another one. >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to android-developers@googlegroups.com >> To unsubscribe from this group, send email to >> android-developers+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en