I would like to Start a new activity from my custom dialog, I have a simple Button and I want that when I press the button a new activity will start.
I try with Start:
Intent intent=new Intent(arg0.getContext(),IdResult.class);
startActivityForResult(intent, 0);
but it doesn't work; how can I make this work?