PackageUtils.installNormal(Context, String)
PackageUtils.installSilent(Context, String)
PackageUtils.install(Context, String)
Uninstall package
PackageUtils.uninstallNormal(Context, String)
PackageUtils.uninstallSilent(Context, String)
PackageUtils.uninstall(Context, String)
Is system application
PackageUtils.isSystemApplication(Context)
PackageUtils.isSystemApplication(Context, String)
PackageUtils.isSystemApplication(PackageManager, String)
Others
PackageUtils.getInstallLocation()
get system install location
PackageUtils.isTopActivity(Context, String)
whether the app whost package's name is packageName is on the
top of the stack
PackageUtils.startInstalledAppDetails(Context, String)
start InstalledAppDetails Activity
PreferencesUtils.PREFERENCE_NAME
Put Value
put string PreferencesUtils.putString(Context, String, String)
put int PreferencesUtils.putInt(Context, String, int)
put long PreferencesUtils.putLong(Context, String, long)
put float PreferencesUtils.putFloat(Context, String, float)
put boolean PreferencesUtils.putBoolean(Context, String, boolean)
Get Value
get string PreferencesUtils.getString(Context, String)
, PreferencesUtils.getString(Context, String, String)
get int PreferencesUtils.getInt(Context, String)
, PreferencesUtils.getInt(Context, String, int)
get long PreferencesUtils.getLong(Context, String)
, PreferencesUtils.getLong(Context, String, long)
get float PreferencesUtils.getFloat(Context, String)
, PreferencesUtils.getFloat(Context, String, float)
get boolean PreferencesUtils.getBoolean(Context, String)
, PreferencesUtils.getBoolean(Context, String, boolean)
SimpleCache.DEFAULT_MAX_SIZE
Elements of the cache will not invalid, can set by SimpleCache.setValidTime(long)
Remove type is RemoveTypeEnterTimeFirst
when cache is full
Size of getting data thread pool is PreloadDataCache.DEFAULT_THREAD_POOL_SIZE
SimpleCache.setValidTime(long)
Remove type is RemoveTypeEnterTimeFirst
when cache is full
Size of getting data thread pool is PreloadDataCache.DEFAULT_THREAD_POOL_SIZE
SimpleCache.setValidTime(long)
Remove type is RemoveTypeEnterTimeFirst
when cache is full