Android Open Source - acs-android-sdk C C Constants






From Project

Back to project page acs-android-sdk.

License

The source code is released under:

Apache License

If you think the Android project acs-android-sdk listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.appcelerator.cloud.sdk;
//w  w  w  .  j a v a 2s  .com
public class CCConstants {
  // URLs
  public final static String HTTP_HEAD = "http://";
  public final static String HTTPS_HEAD = "https://";
  public final static String DEFAULT_HOSTNAME = "api.cloud.appcelerator.com/v1/";
  public final static String DEFAULT_AUTH_HOST = "secure-identity.cloud.appcelerator.com";
  public final static String KEY = "?key=";
  public final static String ACCESS_TOKEN = "access_token";
  public final static String ENCODING_UTF8 = "UTF-8";

  // Cookies
  public static final String COOKIES_FILE = "CocofishCookiesFile";

  // Session
  public static final String LOGIN_METHOD = "loginUser";
  public static final String CREATE_METHOD = "createUser";
  public static final String LOGOUT_METHOD = "logoutUser";
  public static final String USERS = "users";
  public static final int SUCCESS_CODE = 200;

  // User
  public static final String FIRST_NAME = "first_name";
  public static final String LAST_NAME = "last_name";
  public static final String USERNAME = "username";
  public static final String EMAIL = "email";

  // Object
  public static final String ID = "id";
  public static final String UPDATED_AT = "updated_at";
  public static final String CREATED_AT = "created_at";
  public static final String DATE_FORMAT = "yyyy-MM-dd'T'HH:mm:ssZ";

  // Header
  public static final String ACCEPT_ENCODING_HEADER = "Accept-Encoding";
  public static final String GZIP = "gzip";
}




Java Source Code List

com.appcelerator.cloud.demo.BaloonLayout.java
com.appcelerator.cloud.demo.CheckinAdapter.java
com.appcelerator.cloud.demo.DemoApplication.java
com.appcelerator.cloud.demo.DemoSession.java
com.appcelerator.cloud.demo.Explore.java
com.appcelerator.cloud.demo.MyDlgCustomizer.java
com.appcelerator.cloud.demo.PlaceAdapter.java
com.appcelerator.cloud.demo.PlaceView.java
com.appcelerator.cloud.demo.SignUp.java
com.appcelerator.cloud.demo.TabView.java
com.appcelerator.cloud.demo.UserView.java
com.appcelerator.cloud.pushdemo.ArrivalActivity.java
com.appcelerator.cloud.pushdemo.CustomReceiver.java
com.appcelerator.cloud.pushdemo.ExtendedReceiver.java
com.appcelerator.cloud.pushdemo.GCMUtility.java
com.appcelerator.cloud.pushdemo.PushActivity.java
com.appcelerator.cloud.pushdemo.PushNotificationsManager.java
com.appcelerator.cloud.sdk.ACSClientError.java
com.appcelerator.cloud.sdk.ACSClient.java
com.appcelerator.cloud.sdk.CCConstants.java
com.appcelerator.cloud.sdk.CCMeta.java
com.appcelerator.cloud.sdk.CCMultipartEntity.java
com.appcelerator.cloud.sdk.CCObject.java
com.appcelerator.cloud.sdk.CCPagination.java
com.appcelerator.cloud.sdk.CCRequestMethod.java
com.appcelerator.cloud.sdk.CCResponse.java
com.appcelerator.cloud.sdk.CCUser.java
com.appcelerator.cloud.sdk.SerializableCookie.java
com.appcelerator.cloud.sdk.oauth2.ACSClientDialog.java
com.appcelerator.cloud.sdk.oauth2.DialogError.java
com.appcelerator.cloud.sdk.oauth2.DialogListener.java
com.appcelerator.cloud.sdk.oauth2.DlgCustomizer.java
com.appcelerator.cloud.sdk.oauth2.Util.java
com.appcelerator.com.cloud.demotest.TestDriver.java