Back to project page Icinga-Mobile.
The source code is released under:
GNU General Public License
If you think the Android project Icinga-Mobile 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 mhst.dreamteam.IcingaClient; /*from w w w . ja v a2s. co m*/ /** * Contains global constants * * @author MinhNN */ public class GlobalConst { /////////////////////////////////////// RETURN CODE //////////////////////////////////////////// public static final int RETURNCODE_SUCCESS = 1; public static final int RETURNCODE_FAILURE = -1; ///////////////////////////////////////// SESSION ////////////////////////////////////////////// public static final int SESSION_LOGGED_IN = 1; public static final int SESSION_LOGGED_OUT = 0; ////////////////////////////////////// REQUEST CODE //////////////////////////////////////////// public static final int REQUESTCODE_NORMAL = 0; public static final int REQUESTCODE_REQUIRE_LOGIN = 1; public static final int REQUESTCODE_NOTIFICATION_UPDATE = 128; public static final int REQUESTCODE_NOTIFICATION_HOST_UPDATE = 32; public static final int REQUESTCODE_NOTIFICATION_SERVICE_UPDATE = 64; //////////////////////////////////// ERROR CONSTANTS /////////////////////////////////////////// public static final int ERROR_UNKNOWN_ERROR = -1; public static final int ERROR_WRONG_USER_PASS = 4; public static final int ERROR_CONNECTION_ERROR = 64; public static final int ERROR_UNKNOWN_HOST = 128; public static final int ERROR_NO_RESPONSE_DATA = 1024; ////////////////////////////////////// ACTION ////////////////////////////////////////////////// public static final String ACTION_HOST_NOTIFICATION = "mhst.dreamteam.ACTION_HOST_NOTIFICATION"; /////////////////////////////////// CONTENT URI //////////////////////////////////////////////// public static final String CONTENT_SESSION_URI = "content://mhst.dreamteam.SessionProvider/LastSession"; }