Code example for DialogFragment

Methods: getActivity, startActivity