Why AlertDialog work with the tag "this" but not with the tag "getApplicationContext()"
AlertDialog.Builder alertDialog = new AlertDialog.Builder(this); //work
AlertDialog.Builder alertDialog = new AlertDialog.Builder(getApplicationContext()); //doesn't Work
why it is so ?