GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - MatrixBear/AndroidUtilCode: Android developers should collect the following utils(updating)

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

118 Commits
118 Commits

Folders and files

NameName
Last commit message
Last commit date
utilcode
utilcode
 
 
README-CH.md
README-CH.md
 
 
README.md
README.md
 
 
update_log.md
update_log.md
 
 

Repository files navigation

Android developers should collect the following utils

中文版README


Directory is shown below:

  • About App→AppUtils.java
  • getInstallAppIntent
  • getUninstallAppIntent
  • getOpenAppItent
  • getAppInfoIntent
  • getShareInfoIntent
  • isInstallApp
  • getAppInfo
  • getAllAppsInfo
  • isAppBackground
  • About Const→ConstUtils.java
  • Memory Const
  • Time Const
  • Regex Const
  • About Convert→ConvertUtils.java→Test
  • bytes2HexString、hexString2Bytes
  • chars2Bytes、bytes2Chars
  • byte2Size、size2Byte
  • byte2FitSize
  • input2OutputStream、output2InputStream
  • inputStream2Bytes、bytes2InputStream
  • outputStream2Bytes、bytes2OutputStream
  • inputStream2String、string2InputStream
  • outputStream2String、string2OutputStream
  • bitmap2Bytes、bytes2Bitmap
  • drawable2Bitmap、bitmap2Drawable
  • drawable2Bytes、bytes2Drawable
  • dp2px、px2dp
  • sp2px、px2sp
  • About Device→DeviceUtils.java
  • getMacAddress
  • getManufacturer
  • getModel
  • About Encode→EncodeUtils.java→Test
  • urlEncode
  • urlDecode
  • base64Encode、base64Encode2String
  • base64Decode
  • base64UrlSafeEncode
  • htmlEncode
  • htmlDecode
  • About Encrypt→EncryptUtils.java→Test
  • encryptMD2ToString、encryptMD2
  • encryptMD5ToString、encryptMD5
  • encryptSHA1ToString、encryptSHA1
  • encryptSHA224ToString、encryptSHA224
  • encryptSHA256ToString、encryptSHA256
  • encryptSHA384ToString、encryptSHA384
  • encryptSHA512ToString、encryptSHA512
  • encryptMD5File2String、encryptMD5File
  • encryptDES2Base64
  • encryptDES2HexString
  • encryptDES
  • decryptBase64DES
  • decryptHexStringDES
  • decryptDES
  • encrypt3DES2Base64
  • encrypt3DES2HexString
  • encrypt3DES
  • decryptBase64_3DES
  • decryptHexString3DES
  • decrypt3DES
  • encryptAES2Base64
  • encryptAES2HexString
  • encryptAES
  • decryptBase64AES
  • decryptHexStringAES
  • decryptAES
  • 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
  • closeIO
  • 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 Keyboard→KeyboardUtils.java
  • hideSoftInput
  • clickBlankArea2HideSoftInput0
  • showSoftInput
  • toggleSoftInput
  • About Network→NetworkUtils.java
  • openWirelessSettings
  • isAvailable
  • isConnected
  • is4G
  • isWifiConnected
  • getNetworkOperatorName
  • getPhoneType
  • getNetWorkType、getNetWorkTypeName
  • About Phone→PhoneUtils.java
  • isPhone
  • getPhoneIMEI
  • 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
  • getSDCardPath
  • getDataPath
  • getFreeSpace
  • 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
  • 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
  • About Unclassified→UnclassifiedUtils.java
  • isRunningService
  • About Zip→ZipUtils.java→Test
  • zipFiles
  • zipFile
  • unzipFiles
  • unzipFile
  • unzipFileByKeyword
  • getFilesPath
  • getComments
  • getEntries
  • Update Log→update_log.md

I'm so sorry for that the code is annotated with Chinese.

Download


Gradle:

compile 'com.blankj:utilcode:1.2.1'

Proguard


-keep class com.blankj.utilcode.** { *; }
-keep classmembers class com.blankj.utilcode.** { *; }
-dontwarn com.blankj.utilcode.**

License


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.

About

Android developers should collect the following utils(updating)

blankj.com/862.html

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.