How do I start an activity from within a Fragment? [duplicate]

You should do it with getActivity().startActivity(myIntent)

Leave a Comment