AsyncTask doInBackground does not run [duplicate]

Removing the AsyncTask and using a traditional Thread instead of combining it with runOnUiThread seems to work. But I still have not found the reason why the AsyncTask is so “unstable”. Here is the code that works for me: public class ImageActivity extends Activity { private Thread worker; public void onCreate(Bundle bundle) { super.onCreate(bundle); setContentView(R.layout.main); … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)