What is the purpose of the return statement in ASynctask's doInBackground()?
问题 This aspect of my login system works just fine if I have the return statement set to 0 or 1, but fails if I use null. This is all adapted from http://256design.com/blog/android-login-asynctask/ where this particular return looks as listed below my own code. public LoginTask(Polling activity, ProgressDialog progressDialog) { this.activity = activity; this.progressDialog = progressDialog; } protected Integer doInBackground(String... arg0) { EditText userName = (EditText)activity.findViewById(R