package tr.edu.boun.cmpe.sculture;

public class Constants {
    //API URLS
    private static final String API_BASE_URL = "http://192.168.137.1:8080"; // Server on localhost of PC. Update according to your PC or server.
    public static final String API_USER_LOGIN = API_BASE_URL + "/user/login";
    public static final String API_USER_REGISTER = API_BASE_URL + "/user/register";
    public static final String API_STORY_GET = API_BASE_URL + "/story/get";
    public static final String API_STORY_CREATE = API_BASE_URL + "/story/create";
    public static final String API_SEARCH = API_BASE_URL + "/search";

    //REQUEST TAGS
    public static final String REQUEST_TAG_LOGIN = "request_login";
    public static final String REQUEST_TAG_REGISTER = "request_register";
    public static final String REQUEST_TAG_SEARCH = "request_search";
    public static final String REQUEST_TAG_STORY_CREATE = "request_story_create";
    public static final String REQUEST_TAG_STORY_GET = "request_story_get";

    //PREFS
    public static final String PREFS_NAME = "MyPrefsFile";
    public static final String PREF_EMAIL = "email";
    public static final String PREF_USERNAME = "username";
    public static final String PREF_ACCESS_TOKEN = "token";

    //JSON FIELDS
    public static final String FIELD_USERNAME = "username";
    public static final String FIELD_EMAIL = "email";
    public static final String FIELD_PASSWORD = "password";
    public static final String FIELD_ACCESS_TOKEN = "access_token";
    public static final String FIELD_QUERY = "query";
    public static final String FIELD_SIZE = "size";
    public static final String FIELD_PAGE = "page";
    public static final String FIELD_RESULTS = "result";
    public static final String FIELD_ID = "id";
    public static final String FIELD_TITLE = "title";
    public static final String FIELD_CREATION_DATE = "creation_date";
    public static final String FIELD_UPDATE_DATE = "update_date";
    public static final String FIELD_LAST_EDITOR = "last_editor";
    public static final String FIELD_TAGS = "tags";
    public static final String FIELD_POSITIVE_VODE = "positive_vote";
    public static final String FIELD_NEGATIVE_VOTE = "negative_vote";
    public static final String FIELD_REPORT_COUNT = "report_count";
    public static final String FIELD_OWNER = "owner";
    public static final String FIELD_CONTENT = "content";


    //HEADER FIELDS
    public static final String HEADER_ACCESS_TOKEN = "access-token";
}

package tr.edu.boun.cmpe.sculture;

public class Constants {
    //API URLS
    private static final String API_BASE_URL = "http://52.28.216.93:9000";
    public static final String API_USER_LOGIN = API_BASE_URL + "/user/login";
    public static final String API_USER_REGISTER = API_BASE_URL + "/user/register";
    public static final String API_STORY_GET = API_BASE_URL + "/story/get";
    public static final String API_STORY_CREATE = API_BASE_URL + "/story/create";
    public static final String API_SEARCH = API_BASE_URL + "/search";

    //REQUEST TAGS
    public static final String REQUEST_TAG_LOGIN = "request_login";
    public static final String REQUEST_TAG_REGISTER = "request_register";
    public static final String REQUEST_TAG_SEARCH = "request_search";
    public static final String REQUEST_TAG_STORY_CREATE = "request_story_create";
    public static final String REQUEST_TAG_STORY_GET = "request_story_get";

    //PREFS
    public static final String PREFS_NAME = "MyPrefsFile";
    public static final String PREF_EMAIL = "email";
    public static final String PREF_USERNAME = "username";
    public static final String PREF_ACCESS_TOKEN = "token";

    //JSON FIELDS
    public static final String FIELD_USERNAME = "username";
    public static final String FIELD_EMAIL = "email";
    public static final String FIELD_PASSWORD = "password";
    public static final String FIELD_ACCESS_TOKEN = "access_token";
    public static final String FIELD_QUERY = "query";
    public static final String FIELD_SIZE = "size";
    public static final String FIELD_PAGE = "page";
    public static final String FIELD_RESULTS = "result";
    public static final String FIELD_ID = "id";
    public static final String FIELD_TITLE = "title";
    public static final String FIELD_CREATION_DATE = "creation_date";
    public static final String FIELD_UPDATE_DATE = "update_date";
    public static final String FIELD_LAST_EDITOR = "last_editor";
    public static final String FIELD_TAGS = "tags";
    public static final String FIELD_POSITIVE_VODE = "positive_vote";
    public static final String FIELD_NEGATIVE_VOTE = "negative_vote";
    public static final String FIELD_REPORT_COUNT = "report_count";
    public static final String FIELD_OWNER = "owner";
    public static final String FIELD_CONTENT = "content";


    //HEADER FIELDS
    public static final String HEADER_ACCESS_TOKEN = "access-token";
}

Change the base url to server url