Android ‘Unable to add window token null is not for an application’ exception

Dialog dialog = new Dialog(getApplicationContext());

yukarıdaki kod yerine aşağıdaki kodu kullanınız.

Dialog dialog = new Dialog(ActivityTest.this);

« »