Where can I find SingleFragmentActivity.java?


I am working on an Android app which needs to use location service. So I skipped lots of chapters and came directly to chapter 33.

But on the first paragraph of page 623, it says I need to copy in SingleFragmentActivity.java and activity_fragment.xml.

Can somebody show me where I can get these 2 files?

Thanks a lot.


You can find those files in the solutions: https://www.bignerdranch.com/solutions/AndroidProgramming3e.zip

Take a look at the solutions for the chapter you’re working on and copy them into your project.