Twidere-App-Android-Twitter.../twidere/src/main/java/org/mariotaku/twidere/Constants.java

121 lines
5.2 KiB
Java

/*
* Twidere - Twitter client for Android
*
* Copyright (C) 2012-2014 Mariotaku Lee <mariotaku.lee@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.mariotaku.twidere;
import org.mariotaku.twidere.annotation.Preference;
import org.mariotaku.twidere.model.UserKey;
import static org.mariotaku.twidere.annotation.PreferenceType.BOOLEAN;
import static org.mariotaku.twidere.annotation.PreferenceType.STRING;
/**
* Constants requires full application to build or useless for other
* applications
*
* @author mariotaku
*/
public interface Constants extends TwidereConstants {
String DATABASES_NAME = "twidere.sqlite";
int DATABASES_VERSION = 161;
int MENU_GROUP_STATUS_EXTENSION = 10;
int MENU_GROUP_COMPOSE_EXTENSION = 11;
int MENU_GROUP_IMAGE_EXTENSION = 12;
int MENU_GROUP_USER_EXTENSION = 13;
int MENU_GROUP_USER_LIST_EXTENSION = 14;
int MENU_GROUP_STATUS_SHARE = 20;
int LINK_ID_STATUS = 1;
int LINK_ID_USER = 2;
int LINK_ID_USER_TIMELINE = 3;
int LINK_ID_USER_FAVORITES = 4;
int LINK_ID_USER_FOLLOWERS = 5;
int LINK_ID_USER_FRIENDS = 6;
int LINK_ID_USER_BLOCKS = 7;
int LINK_ID_USER_MEDIA_TIMELINE = 8;
int LINK_ID_DIRECT_MESSAGES_CONVERSATION = 9;
int LINK_ID_USER_LIST = 10;
int LINK_ID_USER_LISTS = 11;
int LINK_ID_USER_LIST_TIMELINE = 12;
int LINK_ID_USER_LIST_MEMBERS = 13;
int LINK_ID_USER_LIST_SUBSCRIBERS = 14;
int LINK_ID_USER_LIST_MEMBERSHIPS = 15;
int LINK_ID_GROUP = 16;
int LINK_ID_USER_GROUPS = 17;
int LINK_ID_SAVED_SEARCHES = 19;
int LINK_ID_ITEMS = 20;
int LINK_ID_USER_MENTIONS = 21;
int LINK_ID_INCOMING_FRIENDSHIPS = 22;
int LINK_ID_STATUS_RETWEETERS = 25;
int LINK_ID_STATUS_FAVORITERS = 27;
int LINK_ID_SEARCH = 28;
int LINK_ID_DIRECT_MESSAGES = 29;
int LINK_ID_INTERACTIONS = 30;
int LINK_ID_PUBLIC_TIMELINE = 31;
int LINK_ID_MUTES_USERS = 41;
int LINK_ID_MAP = 51;
int LINK_ID_SCHEDULED_STATUSES = 61;
int LINK_ID_ACCOUNTS = 101;
int LINK_ID_DRAFTS = 102;
int LINK_ID_FILTERS = 110;
int LINK_ID_FILTERS_IMPORT_BLOCKS = 111;
int LINK_ID_FILTERS_IMPORT_MUTES = 112;
int LINK_ID_FILTERS_SUBSCRIPTIONS = 113;
int LINK_ID_PROFILE_EDITOR = 121;
String TWIDERE_PREVIEW_NICKNAME = "Twidere";
String TWIDERE_PREVIEW_NAME = "Twidere Project";
String TWIDERE_PREVIEW_SCREEN_NAME = "TwidereProject";
String TWIDERE_PREVIEW_TEXT_HTML = "Twidere is an open source twitter client for Android, see <a href='https://github.com/mariotaku/twidere'>github.com/mariotak&#8230;</a>";
String TWIDERE_PREVIEW_TEXT_UNESCAPED = "Twidere is an open source twitter client for Android, see github.com/mariotak&#8230;";
String TWIDERE_PREVIEW_SOURCE = "Twidere for Android";
UserKey HONDAJOJO_ID = new UserKey("514378421", USER_TYPE_TWITTER_COM);
String HONDAJOJO_SCREEN_NAME = "HondaJOJO";
String EASTER_EGG_TRIGGER_TEXT = "\u718A\u5B69\u5B50";
String EASTER_EGG_RESTORE_TEXT_PART1 = "\u5927\u738B";
String EASTER_EGG_RESTORE_TEXT_PART2 = "\u5C0F\u7684";
String EASTER_EGG_RESTORE_TEXT_PART3 = "\u77E5\u9519";
int[] PRESET_COLORS = {R.color.material_red, R.color.material_pink,
R.color.material_purple, R.color.material_deep_purple, R.color.material_indigo,
R.color.material_blue, R.color.material_light_blue, R.color.material_cyan,
R.color.material_teal, R.color.material_green, R.color.material_light_green,
R.color.material_lime, R.color.material_yellow, R.color.material_amber,
R.color.material_orange, R.color.material_deep_orange};
// SharedPreferences constants
@Preference(type = BOOLEAN, exportable = false)
String KEY_USAGE_STATISTICS = "usage_statistics";
@Preference(type = STRING, exportable = false)
String KEY_DEVICE_SERIAL = "device_serial";
// Intent constants
String EXTRA_PRODUCT_TYPE = "product_type";
@SuppressWarnings("SpellCheckingInspection")
String GOOGLE_APIS_SERVER_CLIENT_ID = "223623398518-1p34hsndj7couh2c9c2f8909amh9euhf.apps.googleusercontent.com";
@SuppressWarnings("SpellCheckingInspection")
String GOOGLE_PLAY_LICENCING_PUBKEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAgiWSUKjOMgIAYKH0BLPIN4shhldgg1B0bYk8rXtWqIuiE15Ei+3YmoGBzYGrMzuaCwAZzRuWbg17xBBU6OnNYpQ5ncR133l9Cuor8z3nU2k4Jdxl2cv9P+fqdBFBi+VZ7BT+cROEoNnAD6sTOwfD2X+zykpFFbaOGyl5CQr1gdqWktf4BwihzCIrZ4PkT+2HKSFo/GEluFE60O7bAKqZmlRJ8RqlJimXtv9VtJQXqVIRDm5GkTRfcwkAg5rhmMRvsUxotYlnvtcMBidA9tT1zkSKF4X6gtrThvZndkZZgkSxCtTxJfkFIGmwrZoH66155+i2Qnk0XEB8NOt1e8N1AwIDAQAB";
@SuppressWarnings("SpellCheckingInspection")
String DROPBOX_APP_KEY = "lflrwypk2e5pjm6";
}