Coder Social home page Coder Social logo

happyandroid's Introduction

Logo HappyAndroid

这是一个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()方法的话就必须要导入此类库

Change log

4.5.9

  • 增加MessageDigestUtils.java 方便计算文件MD5或SHA-1摘要信息
  • MessageDialogFragment和ProgressDialogFragment中Builder的成员变量改为私有的

4.5.8

  • 优化MessageDialogFragment和ProgressDialogFragment的按钮设置方法,并增加中立按钮(NeutralButton)

4.5.7

  • 增加FragmentUtils,方便查找Fragment

4.5.6

  • 恢复并升级WebViewManager

4.5.5

  • 删除WebViewManager

4.5.4

  • 增加ContentUtils.java
  • BimtapDecoder增加decodeUri()方法,方便读取 Uri指定的图片

4.5.3

  • 删除me.xiaopan.android.adapter包,并将其中的类 移至其它包中
  • 修复MessageDialogFragment和ProgressDialogFragment的OnDismissListener以及OnCancelListener事件不起作用的BUG
  • 增加FragmentBuilder,目的是方便在创建Fragment时添加参数

4.5.2

  • 修复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.
 */

happyandroid's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.