private void setCredentials() { Constants constants = new Constants(); appUrl = constants.getAppUrl(); appKey = constants.getAppKey(); }