I\'m trying to open a dialog window, but every time I try to open it it throws this exception:
Uncaught handler: thread main exiting due to uncaught exceptio
For nested dialogs this issue is very common, It works when
AlertDialog.Builder mDialogBuilder = new AlertDialog.Builder(MyActivity.this);
is used instead of
mDialogBuilder = new AlertDialog.Builder(getApplicationContext);
this alternative.