Back to project page SeeKampf.
The source code is released under:
GNU General Public License
If you think the Android project SeeKampf listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package net.avedo.seekampf.utils; /*w ww. j a v a 2s .com*/ public class Constants { // Prevent instantiating. private Constants() {} // Activity request codes. public static final int ACTIVITY_REQUEST_EDIT = 0; public static final int ACTIVITY_REQUEST_VIEW = ACTIVITY_REQUEST_EDIT + 1; public static final int ACTIVITY_REQUEST_DELETE = ACTIVITY_REQUEST_VIEW + 1; // Activity result codes. public static final int ACTIVITY_RESULT_OK = 0; public static final int ACTIVITY_RESULT_CANCEL = ACTIVITY_RESULT_OK + 1; public static final int ACTIVITY_RESULT_MISSING_ARGUMENT = ACTIVITY_RESULT_CANCEL + 1; public static final int ACTIVITY_RESULT_UNKNOWN_OBJECT = ACTIVITY_RESULT_MISSING_ARGUMENT + 1; public static final int ACTIVITY_RESULT_NETWORK_ERROR = ACTIVITY_RESULT_UNKNOWN_OBJECT + 1; public static final int ACTIVITY_RESULT_JSON_ERROR = ACTIVITY_RESULT_NETWORK_ERROR + 1; // Fragment type constants. public static final int FRAGMENT_ISLAND_DETAILS = 0; public static final int FRAGMENT_ISLAND_EDIT = FRAGMENT_ISLAND_DETAILS + 1; public static final int FRAGMENT_MESSAGE_DETAILS = FRAGMENT_ISLAND_EDIT + 1; public static final int FRAGMENT_MESSAGE_EDIT = FRAGMENT_MESSAGE_DETAILS + 1; public static final int FRAGMENT_HOME_DETAILS = FRAGMENT_MESSAGE_EDIT + 1; public static final int FRAGMENT_HOME_EDIT = FRAGMENT_HOME_DETAILS + 1; // Intent extra constants. public static final String INTENT_EXTRA_ID = "INTENT_EXTRA_ID"; public static final String INTENT_EXTRA_FRAGMENT = "INTENT_EXTRA_FRAGMENT"; // Domain object constants. public static final long DEFAULT_ID = -1; // Network constants. public static final int MAXIMUM_RETRIES = 3; public static final int DEFAULT_LIMIT = 25; public static final String SERVER_URL = "https://www.seekampf.de"; public static final String API_URL = "https://www.seekampf.de/api/api2.php"; // Define the Navigation end points. public static final int NAVIGATION_HOME = 0; public static final int NAVIGATION_AUCTION_HOUSE = NAVIGATION_HOME + 1; public static final int NAVIGATION_PLAYERS = NAVIGATION_AUCTION_HOUSE + 1; public static final int NAVIGATION_ISLANDS = NAVIGATION_PLAYERS + 1; public static final int NAVIGATION_ALLIANCES = NAVIGATION_ISLANDS + 1; public static final int NAVIGATION_MESSAGES = NAVIGATION_ALLIANCES + 1; public static final int NAVIGATION_SETTINGS = NAVIGATION_MESSAGES + 1; public static final int NAVIGATION_ABOUT = NAVIGATION_SETTINGS + 1; }