Introduction: Android Utils 工具类 合集
More: Author   ReportBugs   
android Utils-

AllenCoder's GitHub stats

Including a large part of the Android application development process commonly used tools. Tools source from the network and write their own. (Constantly collecting and sorting out)


Quickly use: build.gradle in the project directory to add the following code:

allprojects {
    repositories {
        maven { url '' }

Introduced dependencies in the app's build.gradle

dependencies {
        compile 'com.github.AllenCoder.SuperUtils:apputils:1.0.6'

1. .Android foundation tool class

Android Basic Tools class
AppManger The application Activity management tool class, for the management of the activity and the exit of the application AppManger
Arith Precise calculation tool class Arith
BitmapUtil Bitmap processing tool class BitmapUtil
BtnClickUtils Android quick click to determine the interceptor class BtnClickUtils
CheckViewInRange View area range judgment tool class CheckViewInRange
DataCleanManager Android in-app data removal tool class DataCleanManager
DataUtil Data conversion tool class DataUtil
DateTimeUtil Android formatting time tool class DateTimeUtil
DigestUtils MD5 encryption and decryption tools category DigestUtils
MLog Android Log print tool class support line number json print uniform package MLog
NetUtils Android network state judgment tool class, detection WiFi, 4G network status) NetUtils
NumberUtil Amount formatting tool class (supports the usual number of decimal places and automatic formatting) NumberUtil
RegexUtils Provide authentication mailbox, mobile phone number, telephone number, ID number, number and other methods RegexUtils
ScreenListener Android screen status monitor tool class (to determine whether the lock screen, bright screen state) ScreenListener
ScreenUtil Get screen status information (screen width and height information) ScreenUtil
StatusBarUtils Status bar processing tool class, support immersive status bar StatusBarUtils
ToolResource Android Get Resource Tools class ToolResource
TouchEventUtil Android Touch Event Print Assistant TouchEventUtil
WeakRefHander Weak reference handler to prevent memory leaks WeakRefHander
SecretUtils 3DES encryption / decryption SecretUtils
ToastUtils Toast tool class (requires Utils.init (context)) ToastUtils
IOUtil IOUtil (File Operations Tool) IOUtil
PaintUtil PaintUtil (measure font size and font height) PaintUtil

2.Android database processing tool class

Android database processing tool class
Utils The Android database is exported to the SD card Utils
dependencies {
         compile 'com.github.AllenCoder.SuperUtils:dbutils:1.0.6'

3.Antroid multimedia processing tool class

Android multimedia tools category
ImageTakerHelper From the camera or album to take the picture auxiliary class ImageTakerHelper
Utils Utils
dependencies {
         compile 'com.github.AllenCoder.SuperUtils:mediautil:1.0.6'


  Copyright  2017 [AllenCoder]

  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

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  See the License for the specific language governing permissions and
 limitations under the License.
About Me
GitHub: Trinea
Facebook: Dev Tools