Code example for Preferences

Methods: getBoolean

0
    } 
 
 
    public boolean isAskBeforeScreenshot() { 
        try { 
            return applicationPreferences.getBoolean("askBeforeScreenshot", true);
        } catch (Exception e) { return false; }
    } 
 
    public void setAskBeforeScreenshot(boolean value) {
        set("askBeforeScreenshot", value);
    } 
     
    public int getPreferredScale() { 
        return applicationPreferences.getInt("scale", 100);
    } 
 
    public void setPreferredScale(int value) {
        set("scale", value);
    } 
    public boolean isHideEmulators() {