I created a custom dialog and I\'d like to start a new activity when OK is clicked. How can I get the context to set it as first argument of my Intent constructor?
I
Simple, just save the context that gets passed into the CustomDialog constructor in a local variable.