mirror of https://github.com/LeOS-GSI/LeOS-Genesis
90 lines
4.5 KiB
Java
Executable File
90 lines
4.5 KiB
Java
Executable File
package com.darkweb.genesissearchengine.constants;
|
|
|
|
public class constants
|
|
{
|
|
/*LOCAL URL CONSTANTS*/
|
|
|
|
public static final String CONST_BLACK_MARKET_URL = "https://boogle.store/search?q=black+market&p_num=1&s_type=all";
|
|
public static final String CONST_LEAKED_DOCUMENT_URL = "https://boogle.store/search?q=leaked+document&p_num=1&s_type=all&p_num=1&s_type=all";
|
|
public static final String CONST_NEWS_URL = "https://boogle.store/search?q=latest%20news&p_num=1&s_type=news";
|
|
public static final String CONST_SOFTWARE_URL = "https://boogle.store/search?q=softwares+tools&p_num=1&s_type=all&p_num=1&s_type=all";
|
|
public static final String CONST_SOFTWARE_FINANCE = "https://boogle.store/search?q=finance&p_num=1&s_type=all&p_num=1&s_type=all";
|
|
public static final String CONST_COMMUNITIES = "https://boogle.store/search?q=news&p_num=1&s_type=all&p_num=1&s_type=all";
|
|
public static final String CONST_MARKET_URL = "https://boogle.store/search?q=news&p_num=1&s_type=all&p_num=1&s_type=all";
|
|
public static final String CONST_SERVER = "https://drive.google.com/uc?export=download&id=1es7XOAWCktGGfSnJu_o8W4_LZuudjR-T";
|
|
public static final String CONST_PLAYSTORE_URL = "http://play.google.com/store/apps/details?id=com.darkweb.genesissearchengine";
|
|
|
|
/*URL CONSTANTS*/
|
|
|
|
public static final String CONST_GENESIS_URL_CACHED = "resource://android/assets/homepage/homepage.html";
|
|
public static final String CONST_GENESIS_ERROR_CACHED = "resource://android/assets/error/error.html";
|
|
public static final String CONST_GENESIS_DOMAIN_URL_SLASHED = "https://boogle.store/";
|
|
public static final String CONST_GENESIS_DOMAIN_URL = "https://boogle.store";
|
|
public static final String CONST_GENESIS_HELP_URL_CACHE = "resource://android/assets/help/help.html";
|
|
public static final String CONST_GENESIS_HELP_URL = "https://boogle.store/help";
|
|
public static final String CONST_GENESIS_HELP_URL_SUB = "boogle.store/help";
|
|
public static final String CONST_BACKEND_GENESIS_URL = "https://boogle.store/search?q=$s&p_num=1&s_type=all";
|
|
public static final String CONST_BACKEND_GOOGLE_URL = "https://www.google.com/search?q=$s";
|
|
public static final String CONST_BACKEND_DUCK_DUCK_GO_URL = "https://duckduckgo.com?q=$s&ia=web";
|
|
public static final String CONST_BACKEND_BING_URL = "https://bing.com/search?q=$s";
|
|
public static final String CONST_BACKEND_WIKI_URL = "https://en.wikipedia.org/wiki/$s";
|
|
|
|
/*PROXY CONSTANTS*/
|
|
|
|
public static final String CONST_PROXY_SOCKS = "127.0.0.1";
|
|
public static final boolean CONST_PROXY_SOCKS_REMOTE_DNS = true;
|
|
public static final boolean CONST_PROXY_CACHE = true;
|
|
public static final boolean CONST_PROXY_MEMORY = true;
|
|
public static final boolean CONST_PROXY_DO_NOT_TRACK_HEADER_ENABLED = false;
|
|
public static final int CONST_PROXY_DO_NOT_TRACK_HEADER_VALUE = 1;
|
|
public static final int CONST_PROXY_SOCKS_VERSION = 5;
|
|
|
|
/*LOG CONSTANTS*/
|
|
|
|
public static final String CONST_LOGS_DEFAULT_MESSAGE = "Genesis on standby at the moment";
|
|
|
|
/*HISTORY CONSTANTS*/
|
|
|
|
public static final String CONST_HISTORY_LOAD_MORE = "loading_more";
|
|
|
|
/*BOOKMARK CONSTANTS*/
|
|
|
|
public static final String CONST_BOOKMARK_LOAD_MORE = "loading_more";
|
|
|
|
/*MENU CONSTANTS*/
|
|
|
|
public static final int CONST_LIST_HISTORY = 1;
|
|
public static final int CONST_LIST_BOOKMARK = 2;
|
|
|
|
/*SETTINGS CONSTANTS*/
|
|
|
|
public static final int CONST_MAX_LIST_DATA_SIZE =5000;
|
|
public static final int CONST_FETCHABLE_LIST_SIZE =100;
|
|
public static final int CONST_MAX_BOOKMARK_SIZE =500;
|
|
public static final String CONST_DATABASE_NAME ="genesis_dbase";
|
|
public static final String CONST_PERCENTAGE_SIGN ="%";
|
|
|
|
/*ANALYTICS CONSTANTS*/
|
|
|
|
public static final String CONST_UNIQUE_KEY_ID = "*PREF_UNIQUE_ID";
|
|
|
|
/*Notification Manager*/
|
|
|
|
public static final String CONST_NOTIFICATION_ID_NAME = "NOTIFICATION:INDENTIFIER:1001";
|
|
public static final String CONST_NOTIFICATION_TITLE = "Genesis Browser";
|
|
public static final int CONST_NOTIFICATION_ID_VALUE = 1;
|
|
public static final int CONST_NOTIFICATION_REQUEST_CODE = 0;
|
|
|
|
/*Language CONSTANTS*/
|
|
|
|
public static final String CONST_LANGUAGE_DEFAULT_LANG = "default";
|
|
|
|
/*Helper CONSTANTS*/
|
|
|
|
public static final String CONST_HELP_MODEL_HEADER = "mHeader";
|
|
public static final String CONST_HELP_MODEL_DESCRIPTION = "mDescription";
|
|
public static final String CONST_HELP_MODEL_ICON = "mIcon";
|
|
|
|
|
|
}
|