Android Open Source - Rashr Constants






From Project

Back to project page Rashr.

License

The source code is released under:

GNU General Public License

If you think the Android project Rashr 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 de.mkrtchyan.recoverytools;
//w ww  . jav a2 s.  c  om
import android.os.Environment;

import java.io.File;

/**
 * Copyright (c) 2014 Aschot Mkrtchyan
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */
public class Constants {

    public static final String RASHR_TAG            =    "Rashr";
    public static final String FLASH_UTIL_TAG       =    "FlashUtil";
    public static final String DEVICE_TAG           =    "Device";
    public static final String FLASH_AS_TAG         =    "FlashAs";

    /**
     * Declaring setting names
     */
    public static final String PREF_NAME            =    "rashr";
    public static final String PREF_KEY_HISTORY     =    "last__history_";
    public static final String PREF_KEY_ADS         =    "show_ads";
    public static final String PREF_KEY_CUR_VER     =    "current_version";
    public static final String PREF_KEY_FIRST_RUN   =    "first_run";
    public static final String PREF_KEY_HIDE_RATER  =    "show_rater";
    public static final String PREF_KEY_SHOW_UNIFIED =   "show_unified";
    public static final String PREF_KEY_DARK_UI     =    "use_dark_ui";
    public static final String PREF_KEY_CHECK_UPDATES =  "check_updates";

    /**
     * Google
     */
    public static final boolean GOOGLE_PLAY        =     true;
    public static final String GOOGLE_PUBKEY       =     "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAhHa/9/sYU2dbF6nQqGzNktvxb+83Ed/inkK8cbiEkcRjw/t/Okge6UghlyYEXcZLJL9TDPAlraktUZZ/XH8+ZpgdNlO+UeQTD4Yl9ReZ/ujQ151g/RLrVNi7NF4SQ1jD20RmX2lCUhbl5cPi6UKL/bHFeZwjE0pOr48svW0nXbRfpgSSk3V/DaV1igTX66DuFUITKi0gQGD8XAVsrOcQRQtr4wHfdgyMQR9m0vPPzpFoDD8SZZFCp9UgvuzqdwYqY8kr7ZcyxuQhaNlcx74hpFQ9MJteRTII+ii/pHfWDh0hDMqcodm4UD9rISmPSvlLR3amfSg4Vm6ObWFiVe4qVwIDAQAB";
    public static final String[] GOOGLE_CATALOG    =    {
                                                         "donate_1",
                                                         "donate_2",
                                                         "donate_3",
                                                         "donate_5"
                                                        };

    /**
     * Flattr
     */
    public static final boolean FLATTR             =     true;
    public static final String FLATTR_PROJECT_URL  =     "http://github.com/DsLNeXuS/Rashr";
    public static final String FLATTR_URL          =     "flattr.com/thing/1853888/ashotmkrtchyan1995Recovery-Tools-on-GitHub";

    /**
     * Web Address for download Recovery and Kernel IMGs
     */
    public static final String BASE_URL            =     "http://dslnexus.de/Android";
    public static final String RECOVERY_URL        =     BASE_URL + "/recoveries";
    public static final String KERNEL_URL          =     BASE_URL + "/kernel";
    public static final String RECOVERY_SUMS_URL   =     BASE_URL + "/recovery_sums";
    public static final String KERNEL_SUMS_URL     =     BASE_URL + "/kernel_sums";
    public static final String RASHR_VERSION_URL   =     BASE_URL + "/rashr/version";
    public static final String UTILS_URL           =     BASE_URL + "/utils";

    public static final String CHANGELOG_URL       =     "https://raw.githubusercontent.com/DsLNeXuS/Rashr/master/CHANGELOG.md";
    /**
     * Used folder and files
     */
    public static final File PathToSd              =      Environment.getExternalStorageDirectory();
    public static final File PathToRashr           =      new File(PathToSd, "Rashr");
    public static final File PathToRecoveries      =      new File(PathToRashr, "recoveries");
    public static final File PathToStockRecovery   =      new File(PathToRecoveries, "stock");
    public static final File PathToCWM             =      new File(PathToRecoveries, "clockworkmod");
    public static final File PathToTWRP            =      new File(PathToRecoveries, "twrp");
    public static final File PathToPhilz           =      new File(PathToRecoveries, "philz");
    public static final File PathToKernel          =      new File(PathToRashr, "kernel");
    public static final File PathToStockKernel     =      new File(PathToKernel, "stock");
    public static final File PathToRecoveryBackups =      new File(PathToRashr, "recovery-backups");
    public static final File PathToKernelBackups   =      new File(PathToRashr, "kernel-backups");
    public static final File PathToUtils           =      new File(PathToRashr, "utils");
    public static final File LastLog               =      new File("/cache/recovery/last_log");
}




Java Source Code List

com.fima.cardsui.StackAdapter.java
com.fima.cardsui.SwipeDismissTouchListener.java
com.fima.cardsui.Utils.java
com.fima.cardsui.objects.AbstractCard.java
com.fima.cardsui.objects.CardFactory.java
com.fima.cardsui.objects.CardModel.java
com.fima.cardsui.objects.CardStack.java
com.fima.cardsui.objects.Card.java
com.fima.cardsui.objects.RecyclableCard.java
com.fima.cardsui.views.CardUI.java
com.fima.cardsui.views.MyCard.java
com.fima.cardsui.views.MyImageCard.java
com.fima.cardsui.views.MyPlayCard.java
com.fima.cardsui.views.QuickReturnListView.java
de.mkrtchyan.recoverytools.BackupRestoreFragment.java
de.mkrtchyan.recoverytools.Constants.java
de.mkrtchyan.recoverytools.Device.java
de.mkrtchyan.recoverytools.FlashAsFragment.java
de.mkrtchyan.recoverytools.FlashFragment.java
de.mkrtchyan.recoverytools.FlashUtil.java
de.mkrtchyan.recoverytools.NavigationDrawerFragment.java
de.mkrtchyan.recoverytools.RashrActivity.java
de.mkrtchyan.recoverytools.ReportDialog.java
de.mkrtchyan.recoverytools.ScriptManagerFragment.java
de.mkrtchyan.recoverytools.SettingsFragment.java
de.mkrtchyan.utils.Common.java
de.mkrtchyan.utils.Downloader.java
de.mkrtchyan.utils.FileChooserDialog.java
de.mkrtchyan.utils.FileListView.java
de.mkrtchyan.utils.Notifyer.java
de.mkrtchyan.utils.SHA1.java
de.mkrtchyan.utils.Unzipper.java
donations.DonationsFragment.java
donations.google.util.Base64DecoderException.java
donations.google.util.Base64.java
donations.google.util.IabException.java
donations.google.util.IabHelper.java
donations.google.util.IabResult.java
donations.google.util.Inventory.java
donations.google.util.Purchase.java
donations.google.util.Security.java
donations.google.util.SkuDetails.java
org.sufficientlysecure.rootcommands.Mount.java
org.sufficientlysecure.rootcommands.Remounter.java
org.sufficientlysecure.rootcommands.RootCommands.java
org.sufficientlysecure.rootcommands.Shell.java
org.sufficientlysecure.rootcommands.SystemCommands.java
org.sufficientlysecure.rootcommands.Toolbox.java
org.sufficientlysecure.rootcommands.command.BinaryCommand.java
org.sufficientlysecure.rootcommands.command.Command.java
org.sufficientlysecure.rootcommands.command.SimpleBinaryCommand.java
org.sufficientlysecure.rootcommands.command.SimpleCommand.java
org.sufficientlysecure.rootcommands.util.BrokenBusyboxException.java
org.sufficientlysecure.rootcommands.util.FailedExecuteCommand.java
org.sufficientlysecure.rootcommands.util.Log.java
org.sufficientlysecure.rootcommands.util.RootAccessDeniedException.java
org.sufficientlysecure.rootcommands.util.UnsupportedArchitectureException.java
org.sufficientlysecure.rootcommands.util.Utils.java