From an activity, I can easily setup the onActivityResult() and call startActivityForResult() and everything works fine.
onActivityResult()
startActivityForResult()
Now, I need to call <
On the dialog constructor pass the reference of parent Activity, then you can use in the dialog like this,
parentActivity.startActivityForResult(intent, CODE);