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
You cannot display an application window/dialog through a Context that is not an Activity. Try passing a valid activity reference