Back to project page android-mvc-framework.
The source code is released under:
Apache License
If you think the Android project android-mvc-framework listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.android_mvc.framework.common; //from w ww . j a va2s . c o m /** * ?????????????????????????????????????? * @author id:language_and_engineering * */ public abstract class AbstractAppSettings { /* ------ ????????????????????????????????????????? ------ */ protected String APP_TAG_FOR_LOG = "TODO:"; protected String DB_NAME = "TODO:"; protected String DB_FULLPATH = "TODO:"; protected boolean DEBUGGING_FLAG = false; protected boolean FORGET_PREFS_ON_DEBUG = false; protected boolean FORGET_RDB_ON_DEBUG = false; /* ---------------------------------------------------------------------- */ /** * FW?????????????????? */ protected abstract void initForFW(); /** * ??????????????????????? */ public AbstractAppSettings() { // NOTE: ???????????????????????????????????????????????????????????????????????????????????????????? //FWUtil.d("????????????????????????????????"); initForFW(); //FWUtil.d("FW??????????AP???????????"); } // NOTE: ????????????????????????????????????????????????????????????????????????????????? // @see http://msugai.fc2web.com/java/overrideConstructor.html // ??getter /** * ??????????????????????? */ public String getAppTagForLog() { return APP_TAG_FOR_LOG; } /** * RDB?????????? */ public String getDbName() { return DB_NAME; } /** * RDB??????? */ public String getDbFullpath() { return DB_FULLPATH; } /** * ?????????????????? */ public boolean isDebuggingFlag() { return DEBUGGING_FLAG; } /** * ??????????????????????????????????????????????????????? * USB??????????????????????FW????????????????????????????????????????? */ public boolean isForgetPrefsOnDebug() { return FORGET_PREFS_ON_DEBUG; } /** * ????????????????????????????DB???????????????????? */ public boolean isForgetRdbOnDebug() { return FORGET_RDB_ON_DEBUG; } }