FileUtils |
To do something with file,like reading ,writing etc.
|
PackageUtils |
DataBaseUtils
Install package
PackageUtils.installNormal(android.content.Context, String)
PackageUtils.installSilent(android.content.Context, String)
PackageUtils.install(android.content.Context, String)
Uninstall package
PackageUtils.uninstallNormal(android.content.Context, String)
PackageUtils.uninstallSilent(android.content.Context, String)
PackageUtils.uninstall(android.content.Context, String)
Is system application
PackageUtils.isSystemApplication(android.content.Context)
PackageUtils.isSystemApplication(android.content.Context, String)
PackageUtils.isSystemApplication(android.content.pm.PackageManager, String)
Others
PackageUtils.getInstallLocation() get system install location
PackageUtils.isTopActivity(android.content.Context, String) whether the app whost package's name is packageName is on the
top of the stack
PackageUtils.startInstalledAppDetails(android.content.Context, String) start InstalledAppDetails Activity
|
ParcelUtils |
ParcelUtils
|
PreferencesUtils |
PreferencesUtils, easy to get or put data
Preference Name
you can change preference name by PreferencesUtils.PREFERENCE_NAME
Put Value
put string PreferencesUtils.putString(android.content.Context, String, String)
put int PreferencesUtils.putInt(android.content.Context, String, int)
put long PreferencesUtils.putLong(android.content.Context, String, long)
put float PreferencesUtils.putFloat(android.content.Context, String, float)
put boolean PreferencesUtils.putBoolean(android.content.Context, String, boolean)
Get Value
get string PreferencesUtils.getString(android.content.Context, String) , PreferencesUtils.getString(android.content.Context, String, String)
get int PreferencesUtils.getInt(android.content.Context, String) , PreferencesUtils.getInt(android.content.Context, String, int)
get long PreferencesUtils.getLong(android.content.Context, String) , PreferencesUtils.getLong(android.content.Context, String, long)
get float PreferencesUtils.getFloat(android.content.Context, String) , PreferencesUtils.getFloat(android.content.Context, String, float)
get boolean PreferencesUtils.getBoolean(android.content.Context, String) , PreferencesUtils.getBoolean(android.content.Context, String, boolean)
|
ResourceUtils |
ResourceUtils
|
ShellUtils |
|
ShellUtils.CommandResult |
|
TempUtils |
已过时
Temp
|
ZipAndUnZip |
Zip an unzip utils that can use zip or gzip
|