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
Just change it into
AlertDialog.Builder alert_Categoryitem = new AlertDialog.Builder(YourActivity.this);
Instead of
AlertDialog.Builder alert_Categoryitem = new AlertDialog.Builder(getApplicationContext());