Android: ProgressDialog.show () getApplicationContext ile çöküyor
Bunun neden olduğunu anlayamıyorum. Bu kod: mProgressDialog = ProgressDialog.show(this, "", getString(R.string.loading), true); gayet iyi çalışıyor. Ancak bu kod: mProgressDialog = ProgressDialog.show(getApplicationContext(), "", getString(R.string.loading), true); aşağıdaki istisnayı atar: W/WindowManager( 569): Attempted to add window with non-application token WindowToken{438bee58 token=null}. Aborting. D/AndroidRuntime( 2049): Shutting down VM W/dalvikvm( 2049): threadid=3: thread exiting with …