/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package my.home.lehome.util; public class Constants { public static final int CHATITEM_LOAD_LIMIT = 20; public static final int CHATITEM_LOWEST_INDEX = 1; public static final float DIALOG_CANCEL_Y_PERSENT = 0.70f; public static final int CHATITEM_STATE_SUCCESS = 0; public static final int CHATITEM_STATE_PENDING = 1; public static final int CHATITEM_STATE_ERROR = 2; public static final long SHOW_DATE_TEXTVIEW_GAP = 5 * 60 * 1000; public static final String BAIDUVOICE_API_KEY = "7P5ZCG6WTAGWr5TuURBgndRH"; public static final String BAIDUVOICE_SECRET_KEY = "gggk30ubCSFGM5uXYfwGll4vILlnQ0em"; public static final int SETTINGS_ACTIVITY_RESULT_CODE = 100; public static final int MESSAGE_SEQ_QUEUE_LIMIT = 150; public static final long VOLUME_KEY_DOWN_DELAY = 500; public static final String MESSAGE_PREFIX = "留言"; public static final String LOCAL_SERVER_ADDRESS_PREFIX = "http://"; public static final String LOCAL_SERVER_ADDRESS_PORT = "8000"; public static final String LOCAL_SERVER_SUBSCRIBE_PREFIX = "tcp://"; public static final String LOCAL_SERVER_SUBSCRIBE_PORT = "9000"; }