Code example for Activity

Methods: getResources, getInstance