2020-01-24 16:23:31 +01:00
|
|
|
package com.darkweb.genesissearchengine.constants;
|
|
|
|
|
|
|
|
public class constants
|
|
|
|
{
|
|
|
|
/*LOCAL URL CONSTANTS*/
|
|
|
|
|
2021-05-10 17:37:53 +02:00
|
|
|
public static final String CONST_BLACK_MARKET_URL = "https://genesishiddentechnologies.com/search?q=black+market&p_num=1&s_type=all";
|
|
|
|
public static final String CONST_LEAKED_DOCUMENT_URL = "https://genesishiddentechnologies.com/search?q=leaked+document&p_num=1&s_type=all&p_num=1&s_type=all";
|
|
|
|
public static final String CONST_NEWS_URL = "https://genesishiddentechnologies.com/search?q=latest%20news&p_num=1&s_type=news";
|
|
|
|
public static final String CONST_SOFTWARE_URL = "https://genesishiddentechnologies.com/search?q=softwares+tools&p_num=1&s_type=all&p_num=1&s_type=all";
|
|
|
|
public static final String CONST_SOFTWARE_FINANCE = "https://genesishiddentechnologies.com/search?q=finance&p_num=1&s_type=all&p_num=1&s_type=all";
|
|
|
|
public static final String CONST_COMMUNITIES = "https://genesishiddentechnologies.com/search?q=news&p_num=1&s_type=all&p_num=1&s_type=all";
|
2021-01-28 11:22:41 +01:00
|
|
|
public static final String CONST_PLAYSTORE_URL = "http://play.google.com/store/apps/details?id=com.darkweb.genesissearchengine";
|
2021-05-10 17:37:53 +02:00
|
|
|
public static final String CONST_PRIVACY_POLICY_URL = "https://genesishiddentechnologies.com/privacy";
|
|
|
|
public static final String CONST_REPORT_URL = "https://genesishiddentechnologies.com/reportus?url=";
|
|
|
|
public static final String CONST_SITEMAP = "https://genesishiddentechnologies.com/create";
|
2021-05-14 14:43:40 +02:00
|
|
|
public static final String CONST_PACKAGE_NAME = "com.darkweb.genesissearchengine";
|
2021-05-10 17:37:53 +02:00
|
|
|
|
|
|
|
/*DRIVE URL DEV*/
|
|
|
|
|
|
|
|
public static final String CONST_SERVER_DEV = "https://drive.google.com/uc?export=download&id=1uuLYjij9z149V1nXwteXsMsxi6BnnYWO";
|
|
|
|
public static final String CONST_GENESIS_REFERENCE_WEBSITES_DEV = "https://drive.google.com/uc?export=download&id=1NnlsAcIojS0KiM5rHznAxu61Jdhlsai-";
|
|
|
|
public static final String CONST_GENESIS_BRIDGE_WEBSITES_DEV = "https://drive.google.com/uc?export=download&id=1qMnhJPQkQEzHMUcDmKO0wdCrqB63CDOj";
|
|
|
|
|
|
|
|
/*DRIVE URL PRODUCTION*/
|
|
|
|
|
|
|
|
public static final String CONST_SERVER = "https://drive.google.com/uc?export=download&id=1ALCooJQEtPYgyTm9XfYmkzSl_WuiBzeX";
|
|
|
|
public static final String CONST_GENESIS_REFERENCE_WEBSITES = "https://drive.google.com/uc?export=download&id=1meNaswi7kmITqLLTb0fIXY2wgw_cG290";
|
|
|
|
public static final String CONST_GENESIS_BRIDGE_WEBSITES = "https://drive.google.com/uc?export=download&id=1wCXY3UWfUbISeY7TSWtCdDNMAiyGG9zj";
|
2020-01-24 16:23:31 +01:00
|
|
|
|
|
|
|
/*URL CONSTANTS*/
|
|
|
|
|
2021-01-18 11:07:12 +01:00
|
|
|
public static final String CONST_GENESIS_URL_CACHED = "resource://android/assets/homepage/homepage.html";
|
2021-03-14 18:59:37 +01:00
|
|
|
public static final String CONST_GENESIS_URL_CACHED_DARK = "resource://android/assets/homepage/homepage-dark.html";
|
2021-03-15 15:11:31 +01:00
|
|
|
public static final String CONST_GENESIS_ERROR_CACHED = "error/error.html";
|
|
|
|
public static final String CONST_GENESIS_ERROR_CACHED_DARK = "error/error-dark.html";
|
2021-05-10 17:37:53 +02:00
|
|
|
public static final String CONST_GENESIS_DOMAIN_URL_SLASHED = "https://genesishiddentechnologies.com/";
|
|
|
|
public static final String CONST_GENESIS_DOMAIN_URL = "https://genesishiddentechnologies.com";
|
2021-02-15 21:26:33 +01:00
|
|
|
public static final String CONST_GENESIS_LOCAL_TIME_GET_KEY = "pLocalTimeVerificationToken";
|
|
|
|
public static final String CONST_GENESIS_GMT_TIME_GET_KEY = "pGlobalTimeVerificationToken";
|
2021-01-18 11:07:12 +01:00
|
|
|
public static final String CONST_GENESIS_HELP_URL_CACHE = "resource://android/assets/help/help.html";
|
2021-03-14 18:59:37 +01:00
|
|
|
public static final String CONST_GENESIS_HELP_URL_CACHE_DARK = "resource://android/assets/help/help-dark.html";
|
2021-03-15 15:11:31 +01:00
|
|
|
public static final String CONST_GENESIS_HELP_URL = "https://genesis.onion/help";
|
2021-05-10 17:37:53 +02:00
|
|
|
public static final String CONST_GENESIS_HELP_URL_SUB = "genesishiddentechnologies.com/help";
|
|
|
|
public static final String CONST_BACKEND_GENESIS_URL = "https://genesishiddentechnologies.com/search?q=$s&p_num=1&s_type=all";
|
2020-11-27 12:40:46 +01:00
|
|
|
public static final String CONST_BACKEND_GOOGLE_URL = "https://www.google.com/search?q=$s";
|
2021-01-28 11:22:41 +01:00
|
|
|
public static final String CONST_BACKEND_DUCK_DUCK_GO_URL = "https://duckduckgo.com?q=$s&ia=web";
|
2020-11-27 12:40:46 +01:00
|
|
|
public static final String CONST_BACKEND_BING_URL = "https://bing.com/search?q=$s";
|
2020-10-22 12:54:13 +02:00
|
|
|
public static final String CONST_BACKEND_WIKI_URL = "https://en.wikipedia.org/wiki/$s";
|
2021-05-14 14:43:40 +02:00
|
|
|
public static final String CONST_LOG_DUCKDUCK = "https://duckduckgo.com/?q=tor logs";
|
2020-10-22 12:54:13 +02:00
|
|
|
|
2020-01-24 16:23:31 +01:00
|
|
|
/*PROXY CONSTANTS*/
|
|
|
|
|
2020-10-20 16:55:08 +02:00
|
|
|
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;
|
2020-11-27 12:40:46 +01:00
|
|
|
public static final int CONST_PROXY_SOCKS_VERSION = 5;
|
|
|
|
|
|
|
|
/*LOG CONSTANTS*/
|
|
|
|
|
2021-01-28 11:22:41 +01:00
|
|
|
public static final String CONST_LOGS_DEFAULT_MESSAGE = "Genesis on standby at the moment";
|
2020-01-24 16:23:31 +01:00
|
|
|
|
|
|
|
/*MENU CONSTANTS*/
|
|
|
|
|
2020-10-20 16:55:08 +02:00
|
|
|
public static final int CONST_LIST_HISTORY = 1;
|
|
|
|
public static final int CONST_LIST_BOOKMARK = 2;
|
2020-01-24 16:23:31 +01:00
|
|
|
|
|
|
|
/*SETTINGS CONSTANTS*/
|
|
|
|
|
2020-10-20 16:55:08 +02:00
|
|
|
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";
|
2020-11-11 13:11:13 +01:00
|
|
|
public static final String CONST_PERCENTAGE_SIGN ="%";
|
2020-01-24 16:23:31 +01:00
|
|
|
|
2021-01-28 11:22:41 +01:00
|
|
|
/*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";
|
|
|
|
|
2021-02-15 21:26:33 +01:00
|
|
|
/*ENCRYPTION KEY*/
|
|
|
|
public static final String CONST_ENCRYPTION_KEY = "Zr4u7x!A%D*F-JaNdRgUkXp2s5v8y/B?";
|
2021-04-18 17:47:09 +02:00
|
|
|
public static final String CONST_ENCRYPTION_KEY_DATABASE = "Zr4u7x!!A%D*F-JaNdsS@@gUbbp^^5v8y/B?";
|
2021-02-15 21:26:33 +01:00
|
|
|
|
2021-01-28 11:22:41 +01:00
|
|
|
|
2020-01-24 16:23:31 +01:00
|
|
|
}
|