Android工具类库

Android工具类库 Build Status API Gradle Version Licence

项目链接地址https://github.com/AllenCoder/SuperUtils

囊括了一大部分Android应用开发过程当中常用的工具类。工具类来源整理自网络和自己编写。(正在不断收集和整理中)

快速使用: 在工程目录下的 build.gradle 添加如下代码:

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

在app的build.gradle引入依赖

1.Android 基础工具类

Android 基础工具类
AppManger应用程序Activity管理工具类,用于Activity的管理和应用程序的退出AppManger
Arith精确计算工具类Arith
BitmapUtilBitmap 处理工具类BitmapUtil
BtnClickUtilsAndroid 快速点击判断拦截工具类BtnClickUtils
CheckViewInRangeView 区域范围判断工具类CheckViewInRange
DataCleanManagerAndroid 应用内数据清除工具类DataCleanManager
DataUtil数据转换工具类DataUtil
DateTimeUtilAndroid 格式化时间工具类DateTimeUtil
DigestUtilsMD5加解密工具类DigestUtils
DataCleanManagerAndroid 应用内数据清除工具类DataCleanManager
MLogAndroid Log打印工具类 支持行号 json打印 统一封装MLog
NetUtilsAndroid 网络状态判断工具类,检测WiFi ,4G网络状态NetUtils
NumberUtil金额格式化工具类(支持常用的保留指定位数的小数 和自动格式化处理)NumberUtil
RegexUtils提供验证邮箱、手机号、电话号码、身份证号码、数字等方法RegexUtils
ScreenListenerAndroid屏幕状态监听工具类(判断 是否处于锁屏,亮屏状态)ScreenListener
ScreenUtil获取屏幕状态信息 (屏幕宽高 等信息)ScreenUtil
StatusBarUtils状态栏处理工具类 ,支持沉浸式状态栏StatusBarUtils
ToolResourceAndroid 获取资源工具类ToolResource
TouchEventUtilAndroid Touch事件打印辅助工具类TouchEventUtil
dependencies {
        compile 'com.github.AllenCoder.SuperUtils:apputils:1.0.2'
}

2.Android 数据库处理工具类

Android 数据库处理工具类
UtilsAndroid 数据库导出到SD卡Utils
dependencies {
         compile 'com.github.AllenCoder.SuperUtils:dbutils:1.0.2'
}

3.Android 多媒体处理工具类

Android 多媒体工具类
ImageTakerHelper从相机或者相册取图片辅助类ImageTakerHelper
UtilsUtils
dependencies {
         compile 'com.github.AllenCoder.SuperUtils:mediautil:1.0.2'
}

License


  Copyright  2017 [AllenCoderr]

  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.
  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值