ArrayUtils |
Array Utils
ArrayUtils.isEmpty(Object[]) is null or its length is 0
ArrayUtils.getLast(Object[], Object, Object, boolean) get last element of the target element, before the first one
that match the target element front to back
ArrayUtils.getNext(Object[], Object, Object, boolean) get next element of the target element, after the first one
that match the target element front to back
ArrayUtils.getLast(Object[], Object, boolean)
ArrayUtils.getLast(int[], int, int, boolean)
ArrayUtils.getLast(long[], long, long, boolean)
ArrayUtils.getNext(Object[], Object, boolean)
ArrayUtils.getNext(int[], int, int, boolean)
ArrayUtils.getNext(long[], long, long, boolean)
|
AssetDatabaseOpenHelper |
|
CacheManager |
CacheManager
|
DbHelper |
db helper
|
DownloadManagerPro |
|
DownloadManagerPro.RequestPro |
|
FileUtils |
|
HttpUtils |
|
HttpUtils.HttpListener |
HttpListener, can do something before or after HttpGet
|
ImageCacheManager |
ImageCacheManager
|
ImageUtils |
|
JSONUtils |
Json Utils
|
ListUtils |
List Utils
|
MapUtils |
Map Utils
|
ObjectUtils |
Object Utils
|
PackageUtils |
PackageUtils
Install package
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
|
ParcelUtils |
ParcelUtils
|
PatchUtils |
PatchUtils
|
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(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)
|
RandomUtils |
Random Utils
Shuffling algorithm
RandomUtils.shuffle(Object[]) Shuffling algorithm, Randomly permutes the specified array using a default source of
randomness
RandomUtils.shuffle(Object[], int) Shuffling algorithm, Randomly permutes the specified array
RandomUtils.shuffle(int[]) Shuffling algorithm, Randomly permutes the specified int array using a default source of
randomness
RandomUtils.shuffle(int[], int) Shuffling algorithm, Randomly permutes the specified int array
get random int
RandomUtils.getRandom(int) get random int between 0 and max
RandomUtils.getRandom(int, int) get random int between min and max
get random numbers or letters
RandomUtils.getRandomCapitalLetters(int) get a fixed-length random string, its a mixture of uppercase letters
RandomUtils.getRandomLetters(int) get a fixed-length random string, its a mixture of uppercase and lowercase letters
RandomUtils.getRandomLowerCaseLetters(int) get a fixed-length random string, its a mixture of lowercase letters
RandomUtils.getRandomNumbers(int) get a fixed-length random string, its a mixture of numbers
RandomUtils.getRandomNumbersAndLetters(int) get a fixed-length random string, its a mixture of uppercase, lowercase
letters and numbers
RandomUtils.getRandom(String, int) get a fixed-length random string, its a mixture of chars in source
RandomUtils.getRandom(char[], int) get a fixed-length random string, its a mixture of chars in sourceChar
|
ResourceUtils |
ResourceUtils
|
ScreenUtils |
|
SerializeUtils |
Serialize Utils
|
ShellUtils |
|
ShellUtils.CommandResult |
|
SizeUtils |
SizeUtils
|
SqliteUtils |
SqliteUtils
|
StringUtils |
String Utils
|
SystemUtils |
SystemUtils
|
TimeUtils |
TimeUtils
|
ToastUtils |
ToastUtils
|
ViewUtils |
|