AndroidCommon
一个简单的开源Android工具类库,提供许多常用的类帮助我们开发程序。
These are the Android Common Utils.
Class | Introduction |
---|---|
AnimationUtils | Animation Unility Class |
AppUtils | App Unility Class |
ArrayUtils | Array Unility Class |
AssetsUtils | Assets Unility Class |
BASE64Utils | Base64 Unility Class |
BitmapUtils | Bitmap Unility Class |
BlurUtils | Blur Unility Class |
ByteUtils | Byte Unility Class |
CalendarUtils | Calendar Unility Class |
ClipboardUtils | Clipboard Unility Class |
CollectionUtils | Collection Unility Class |
CommonUtils | Common Unility Class |
CpuUtils | Cpu Unility Class |
DeviceUtils | Device Unility Class |
DisplayUtils | Display Unility Class |
FileUtils | File Unility Class |
FragmentUtils | Fragment Unility Class |
HandlerUtils | Handler Unility Class |
IOUtils | IO Unility Class |
ImageUtils | Image Unility Class |
InputMethodUtils | InputMethod Unility Class |
IntentUtils | Intent Unility Class |
JsonUtils | Json Unility Class |
LogUtils | Log Unility Class |
MD5Utils | Md5 Unility Class |
MapUtils | Map Unility Class |
MemoryUtils | Memory Unility Class |
NetworkUtils | Network Unility Class |
NumberUtils | Number Unility Class |
ObjectUtils | Object Unility Class |
PackageUtils | Package Unility Class |
PropertyUtils | Property Unility Class |
RandomUtils | Random Unility Class |
ResourceUtils | Resource Unility Class |
SHA1Utils | Sha1 Unility Class |
SerializableUtils | Serializable Unility Class |
SharedPreferencesUtils | SharedPreferences Unility Class |
ShellUtils | Shell Unility Class |
StringUtils | String Unility Class |
SystemUtils | System Unility Class |
TelephonyUtils | Telephony Unility Class |
ThreadUtils | Thread Unility Class |
TimeUtils | Time Unility Class |
ToastUtils | Toast Unility Class |
UrlUtils | Url Unility Class |
VibratorUtils | Vibrator Unility Class |
ViewUtils | View Unility Class |
Permission
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
Proguard
-keep class com.wx.android.common.** { *; }
-keepclassmembers class com.wx.android.common.** { *; }
-dontwarn com.wx.android.common.**
Setup
- Download the project from GitHub
- Import it to your Eclipse workspace or IntelliJ IDEA project
- Set your project properties, then add a android project library, and select AndroidCommon
Usage
Gradle:
compile 'com.wx.android.common:common:1.0.1'
Author
License
Copyright (C) 2015 [email protected]
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.