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
Instead of getApplicationContext(), just use ActivityName.this
getApplicationContext()
ActivityName.this