android工具类库整理

时间:2022-05-01 06:22:16

https://github.com/jingle1267/android-utils



android工具类库

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

所有的工具类简介 (a - z):

需要权限 (Permission)

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.BLUETOOTH" />

配置 (Configuration)

<application
android:name="com.ihongqiqu.app.BaseApplication" >

发布正式版本注释Log只需要设置 LogUtils.DEBUG_LEVEL = Log.ASSERT

混淆 (Proguard)

代码混淆只需要在Proguard规则文件中添加如下代码即可(Eclipse下为proguard.cfg文件):

-keep class com.ihongqiqu.** { *; }
-keepclassmembers class com.ihongqiqu.** { *; }
-dontwarn com.ihongqiqu.**

开发者 (Developer)

License

Copyright 2014-2015 Zhenguo Jin

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.