This method have to be not static and context have to be passed as parameter.