Code example for Fragment

Methods: getActivity, onStart, startActivity