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
@dhaag23 You don't even have to do that much work!
Call getContext()
This returns the Context passed to the Dialog's constructor.
Context