Directory is shown below:
- About Activity→ActivityUtils.java
- isExistActivity
- launchActivity
- About App→AppUtils.java
- isInstallApp
- installApp
- installAppSilent
- uninstallApp
- uninstallAppSilent
- launchApp
- getAppPackageName
- getAppDetailsSettings
- getAppName
- getAppIcon
- getAppPath
- getAppVersionName
- getAppVersionCode
- getAppSignature
- getAppSignatureSHA1
- isSystemApp
- isAppForeground
- getAppInfo
- getAppsInfo
- cleanAppData
- About Bar→BarUtils.java
- setTransparentStatusBar
- hideStatusBar
- getStatusBarHeight
- isStatusBarExists
- getActionBarHeight
- showNotificationBar
- hideNotificationBar
- About Clean→CleanUtils.java
- cleanInternalCache
- cleanInternalFiles
- cleanInternalDbs
- cleanInternalDbByName
- cleanInternalSP
- cleanExternalCache
- cleanCustomCache
- About Clipboard→ClipboardUtils.java
- copyText
- getText
- copyUri
- getUri
- copyIntent
- getIntent
- About Close→CloseUtils.java
- closeIO
- closeIOQuietly
- About Const→ConstUtils.java
- Memory Const
- Time Const
- Regex Const
- About Convert→ConvertUtils.java→Test
- bytes2HexString、hexString2Bytes
- chars2Bytes、bytes2Chars
- byte2Size、size2Byte
- byte2FitSize
- bytes2Bits、bits2Bytes
- input2OutputStream、output2InputStream
- inputStream2Bytes、bytes2InputStream
- outputStream2Bytes、bytes2OutputStream
- inputStream2String、string2InputStream
- outputStream2String、string2OutputStream
- bitmap2Bytes、bytes2Bitmap
- drawable2Bitmap、bitmap2Drawable
- drawable2Bytes、bytes2Drawable
- view2Bitmap
- dp2px、px2dp
- sp2px、px2sp
- About Crash→CrashUtils.java
- getInstance
- init
- About Device→DeviceUtils.java
- isRoot
- getSDKVersion
- getAndroidID
- getMacAddress
- getManufacturer
- getModel
- About Empty→EmptyUtils.java→Test
- isEmpty
- isNotEmpty
- About Encode→EncodeUtils.java→Test
- urlEncode
- urlDecode
- base64Encode、base64Encode2String
- base64Decode
- base64UrlSafeEncode
- htmlEncode
- htmlDecode
- About Encrypt→EncryptUtils.java→Test
- encryptMD2、encryptMD2ToString
- encryptMD5、encryptMD5ToString
- encryptMD5File、encryptMD5File2String
- encryptSHA1、encryptSHA1ToString
- encryptSHA224**encryptSHA224ToString
- encryptSHA256、encryptSHA256ToString
- encryptSHA384、encryptSHA384ToString
- encryptSHA512、encryptSHA512ToString
- encryptHmacMD5、encryptHmacMD5ToString
- encryptHmacSHA1、encryptHmacSHA1ToString
- encryptHmacSHA224、encryptHmacSHA224ToString
- encryptHmacSHA256、encryptHmacSHA256ToString
- encryptHmacSHA384、encryptHmacSHA384ToString
- encryptHmacSHA512、encryptHmacSHA512ToString
- encryptDES、encryptDES2HexString、encryptDES2Base64
- decryptDES、decryptHexStringDES、decryptBase64DES
- encrypt3DES、encrypt3DES2HexString、encrypt3DES2Base64
- decrypt3DES、decryptHexString3DES、decryptBase64_3DES
- encryptAES、encryptAES2HexString、encryptAES2Base64
- decryptAES、decryptHexStringAES、decryptBase64AES
- About File→FileUtils.java→Test
- getFileByPath
- isFileExists
- isDir
- isFile
- createOrExistsDir
- createOrExistsFile
- createFileByDeleteOldFile
- copyDir
- copyFile
- moveDir
- moveFile
- deleteDir
- deleteFile
- listFilesInDir
- listFilesInDir
- listFilesInDirWithFilter
- listFilesInDirWithFilter
- listFilesInDirWithFilter
- listFilesInDirWithFilter
- searchFileInDir
- writeFileFromIS
- writeFileFromString
- getFileCharsetSimple
- getFileLines
- readFile2List
- readFile2SB
- getFileSize
- getFileMD5
- getDirName
- getFileName
- getFileNameNoExtension
- getFileExtension
- About Image→ImageUtils.java
- bitmap2Bytes、bytes2Bitmap
- drawable2Bitmap、bitmap2Drawable
- drawable2Bytes、bytes2Drawable
- getBitmap
- scale
- clip
- skew
- rotate
- getRotateDegree
- toRound
- toRoundCorner
- fastBlur
- renderScriptBlur
- stackBlur
- addFrame
- addReflection
- addTextWatermark
- addImageWatermark
- toAlpha
- toGray
- save
- isImage
- getImageType
- compressByScale
- compressByQuality
- compressBySampleSize
- About Intent→IntentUtils.java
- getInstallAppIntent
- getUninstallAppIntent
- getLaunchAppIntent
- getAppDetailsSettingsIntent
- getShareTextIntent
- getShareImageIntent
- getComponentIntent
- getShutdownIntnet
- getCaptureIntent
- About Keyboard→KeyboardUtils.java
- hideSoftInput
- clickBlankArea2HideSoftInput0
- showSoftInput
- toggleSoftInput
- isShowSoftInput
- About Log→LogUtils.java→Test
- init
- getBuilder
- v
- d
- i
- w
- e
- About Network→NetworkUtils.java
- openWirelessSettings
- isAvailable
- isConnected
- is4G
- isWifiConnected
- getNetworkOperatorName
- getPhoneType
- getNetWorkType、getNetWorkTypeName
- About Phone→PhoneUtils.java
- isPhone
- getIMEI
- getIMSI
- getPhoneStatus
- dial
- call
- sendSms
- getAllContactInfo
- getContantNum
- getAllSMS
- About Regex→RegexUtils.java→Test
- isMobileSimple
- isMobileExact
- isTel
- isIDCard15
- isIDCard18
- isEmail
- isURL
- isChz
- isUsername
- isDate
- isIP
- isMatch
- About Screen→ScreenUtils.java
- getDeviceWidth、getDeviceHeight
- setTransparentStatusBar
- hideStatusBar
- getStatusBarHeight
- isStatusBarExists
- getActionBarHeight
- showNotificationBar
- hideNotificationBar
- setLandscape
- snapShotWithStatusBar、snapShotWithoutStatusBar
- isScreenLock
- About SDCard→SDCardUtils.java
- isSDCardEnable
- getDataPath
- getSDCardPath
- getFreeSpace
- getSDCardInfo
- About Service→ServiceUtils.java
- isRunningService
- About Shell→ShellUtils.java
- isRoot
- execCmd
- About Size→SizeUtils.java
- dp2px、px2dp
- sp2px、px2sp
- applyDimension
- forceGetViewSize
- measureView
- About SP→SPUtils.java→Test
- SPUtils
- putString
- getString
- putInt
- getInt
- putLong
- getLong
- putFloat
- getFloat
- putBoolean
- getBoolean
- getAll
- remove
- contains
- clear
- About String→StringUtils.java→Test
- isEmpty
- isSpace
- null2Length0
- length
- upperFirstLetter
- lowerFirstLetter
- reverse
- toDBC
- toSBC
- getPYFirstLetter
- cn2PY
- About ThreadPool→ThreadPoolUtils.java
- ThreadPoolUtils
- execute
- execute
- shutDown
- shutDownNow
- isShutDown
- isTerminated
- awaitTermination
- submit
- submit
- invokeAll、invokeAny
- schedule
- schedule
- scheduleWithFixedRate、scheduleWithFixedDelay
- About Time→TimeUtils.java→Test
- milliseconds2String
- string2Milliseconds
- string2Date
- date2String
- date2Milliseconds
- milliseconds2Date
- milliseconds2Unit
- getIntervalTime
- getCurTimeMills、getCurTimeString、getCurTimeDate
- getIntervalByNow
- isLeapYear
- getWeek、getWeekIndex
- getWeek、getWeekIndex
- getWeekOfMonth
- getWeekOfYear
- About Toast→ToastUtils.java
- init
- showShortToastSafe
- showLongToastSafe
- showShortToast
- showLongToast
- cancelToast
- About Zip→ZipUtils.java→Test
- zipFiles
- zipFile
- unzipFiles
- unzipFile
- unzipFileByKeyword
- getFilesPath
- getComments
- getEntries
- 更新Log→update_log.md
I'm so sorry for that the code is annotated with Chinese.
Gradle:
compile 'com.blankj:utilcode:1.3.0'
-keep class com.blankj.utilcode.** { *; }
-keep classmembers class com.blankj.utilcode.** { *; }
-dontwarn com.blankj.utilcode.**
Copyright 2016 Blankj
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.