这是一个Android工具类库,其包含大量在Android开发中经常用到的工具类或方法,旨在让Android开发变得更简单、更随意、更舒心!
##Usage guide me.xiaopan.android.app
- ActivityPool.java
- ActivityUtils.java.java
- DialogUtils.java
- DownloadManagerUtils.java
- FragmentBuilder.java
- FragmentListPagerAdapter.java
- FragmentUtils
- MessageDialogFragment.java
- ProgressDialogFragment.java
- SimpleFragmentPagerAdapter.java
- SimpleFragmentStatePagerAdapter.java
me.xiaopan.android.content
- BroadcastUtils.java
- ContentUtils.java
- FileUtils.java
- IntentUtils.java
- StartAppReceiver.java
- UriUtils.java
me.xiaopan.android.content.pm
- VersionManager.java
me.xiaopan.android.content.res
- AssetsUtils.java
- DimensUtils.java
- RUtils.java
me.xiaopan.android.graphics
- BitmapDecoder.java
- BitmapUtils.java
- Colors.java
- RectUtils.java
- TextUtils.java
me.xiaopan.android.graphics.drawble
- DrawabLevelController.java
me.xiaopan.android.hardware
- DeviceUtils.java
me.xiaopan.android.hardware.camera
- BasePreviewAndPictureSizeCalculator.java
- BestPreviewSizeCalculator.java
- CameraManager.java
- CameraUtils.java
- LoopFocusManager.java
me.xiaopan.android.net
- NetworkUtils.java
me.xiaopan.android.os
- OSUtils.java
- SDCardUtils.java
me.xiaopan.android.preference
- PreferencesUtils.java
me.xiaopan.android.provider
- PhoneUtils.java
- SettingsUtils.java
me.xiaopan.android.util
- AndroidLogger.java
- BuildConfigUtils.java
- Countdown.java
- DoubleClickDetector.java
- DoubleClickExitDetector.java
- GeometryUtils.java
- InputVerifyUtils.java
- LoopTimer.java
- MessageDigestUtils.java
- OtherUtils.java
- RebootThreadExceptionHandler.java
me.xiaopan.android.view
- ViewListPagerAdapter.java
- ViewRefreshHandler.java
- ViewUtils.java
- WindowUtils.java
me.xiaopan.android.view.animation
- AnimationUtils.java
- ViewAnimationUtils.java
me.xiaopan.android.view.inputmethod
- InputMethodUtils.java
me.xiaopan.android.webkit
- WebViewManager.java
me.xiaopan.android.widget
- CheckAdapter.java
- DepthPageTransformer.java
- NestedGridView.java
- NestedListView.java
- ToastUtils.java
- ViewAdapter.java
- ZoomOutPageTransformer.java
##Downloads
Dependencies
- android-support-v4.jar 可选的。如果你要使用以下类的话就必须导入此类库 1. FragmentListPagerAdapter.java 2. SimpleFragmentPagerAdapter.java 3. SimpleFragmentStatePagerAdapter.java 4. ViewListPagerAdapter.java 5. MessageDialogFragment.java 6. ProgressDialogFragment.java 7. DepthPageTransformer.java 8. ZoomOutPageTransformer.java
- gson-2.2.4.jar 可选的。如果你要使用PreferenceUtils的putObject()和getObject()方法的话就必须要导入此类库
- pinyin4j-2.5.0.jar 可选的。此类库用于实现为中文匹配拼音或者比较两个中文的大小,所以如果你要使用CharUtils的getPinyin系列方法或者StringUtils的compare()方法的话就必须要导入此类库
- 增加MessageDigestUtils.java 方便计算文件MD5或SHA-1摘要信息
- MessageDialogFragment和ProgressDialogFragment中Builder的成员变量改为私有的
- 优化MessageDialogFragment和ProgressDialogFragment的按钮设置方法,并增加中立按钮(NeutralButton)
- 增加FragmentUtils,方便查找Fragment
- 恢复并升级WebViewManager
- 删除WebViewManager
- 增加ContentUtils.java
- BimtapDecoder增加decodeUri()方法,方便读取 Uri指定的图片
- 删除me.xiaopan.android.adapter包,并将其中的类 移至其它包中
- 修复MessageDialogFragment和ProgressDialogFragment的OnDismissListener以及OnCancelListener事件不起作用的BUG
- 增加FragmentBuilder,目的是方便在创建Fragment时添加参数
- 修复BimtapDecoder在4.4上调用decodeFromAssets()或decodeFromStream()方法解码失败,返回null的BUG,原因是同一个InputStream用了两次
##License
/*
* Copyright (C) 2013 Peng fei Pan <[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.
*/