There is no need in creating such simple method. Its name is wrong (app in fact starting activity). And this method located in wrong place of class (because it's static).