I noticed that the Activity class has two different methods to get a String resource. This is possible by using:
Activity
getString(int resId)
In Fragments you can use also getString() instead of getActivity().getString()
getString()
getActivity().getString()