Android????
???????Android???????????????????????????????
???????? (a - z):
? | ?? |
---|---|
AnimationUtils | Animation ??? |
AppUtils | APP ??????? |
AssetDatabaseOpenHelper | ?? Asset ????????? |
BitmapUtil | Bitmap ????????? Bitmap ?? Bitmap ??? |
CipherUtils | ????????? |
Colors | ????????? |
CommonUtil | ??????? |
ChannelUtil | ??????????? ??????? |
DataCleanManager | ????????????????/???????????? SharedPreference??? files ???????? |
DatabaseExportUtils | ?????????? |
DateUtils | ????? |
DeviceStatusUtils | ??????? ??????????????????????? |
DisplayUtils | ????????? |
DoubleKeyValueMap | ???? |
DownloadManagerPro | ??????? |
FileUtils | ??????? |
HanziToPinyin | ???????? |
ImsiUtil | IMSI ??? |
JSONUtils | Json ????? |
LocationUtils | ??????????????????????? |
LogUtils | Log?????????: Android Log ???? |
NetUtil | ????? |
PackageUtils | ???????? |
PhoneUtil | ????????? |
PollingUtils | ??????? |
PreferencesCookieStore | Cookie ????? |
RUtils | R ???? ID ??? |
RandomUtils | ????? |
RegUtils | ??????? |
ResourceUtils | ????????? |
SDCardUtils | SDcard ????? |
SettingUtils | ??????? |
ShellUtils | shell ??? |
ShortCutUtils | ??????? |
Singleton | ??????? |
StringUtils | ???????????????????? TextUtils ?? |
ViewAnimationUtils | ????????????????????????? |
ViewUtils | View ????? |
ViewFinder | findViewById ????? |
WindowUtils | ????? |
BaseApplication | ?? Application ???????????? |
BaseCrashHandler | ? Application ?????????????????????? |
RebootThreadExceptionHandler | ?????????????????????????????????????? |
StartAppReceiver | ?????????? |
ToastsUtils | Toasts??? |
SharesUtils | ??????????????????? |
DeviceUtils | ???????? |
Framework ?????
AOSP ?????Util???????????????
// ?? ./android/database/DatabaseUtils.java ./android/transition/TransitionUtils.java ./android/view/animation/AnimationUtils.java ./android/view/ViewAnimationUtils.java ./android/webkit/URLUtil.java ./android/bluetooth/le/BluetoothLeUtils.java ./android/gesture/GestureUtils.java ./android/text/TextUtils.java ./android/text/format/DateUtils.java ./android/os/FileUtils.java ./android/os/CommonTimeUtils.java ./android/net/NetworkUtils.java ./android/util/MathUtils.java ./android/util/TimeUtils.java ./android/util/ExceptionUtils.java ./android/util/DebugUtils.java ./android/drm/DrmUtils.java ./android/media/ThumbnailUtils.java ./android/media/ImageUtils.java ./android/media/Utils.java ./android/opengl/GLUtils.java ./android/opengl/ETC1Util.java ./android/telephony/PhoneNumberUtils.java // ?????? ./design/src/android/support/design/widget/ViewGroupUtils.java ./design/src/android/support/design/widget/ThemeUtils.java ./design/src/android/support/design/widget/ViewUtils.java ./design/lollipop/android/support/design/widget/ViewUtilsLollipop.java ./design/base/android/support/design/widget/AnimationUtils.java ./design/base/android/support/design/widget/MathUtils.java ./design/honeycomb/android/support/design/widget/ViewGroupUtilsHoneycomb.java ./v7/recyclerview/src/android/support/v7/widget/helper/ItemTouchUIUtil.java ./v7/recyclerview/src/android/support/v7/widget/helper/ItemTouchUIUtilImpl.java ./v7/recyclerview/src/android/support/v7/util/MessageThreadUtil.java ./v7/recyclerview/src/android/support/v7/util/AsyncListUtil.java ./v7/recyclerview/src/android/support/v7/util/ThreadUtil.java ./v7/recyclerview/tests/src/android/support/v7/widget/AsyncListUtilLayoutTest.java ./v7/recyclerview/tests/src/android/support/v7/util/AsyncListUtilTest.java ./v7/recyclerview/tests/src/android/support/v7/util/ThreadUtilTest.java ./v7/appcompat/src/android/support/v7/graphics/drawable/DrawableUtils.java ./v7/appcompat/src/android/support/v7/widget/DrawableUtils.java ./v7/appcompat/src/android/support/v7/widget/ThemeUtils.java ./v7/appcompat/src/android/support/v7/widget/ViewUtils.java ./v4/tests/java/android/support/v4/graphics/ColorUtilsTest.java ./v4/jellybean-mr1/android/support/v4/text/TextUtilsCompatJellybeanMr1.java ./v4/jellybean/android/support/v4/app/BundleUtil.java ./v4/jellybean/android/support/v4/app/NavUtilsJB.java ./v4/java/android/support/v4/app/NavUtils.java ./v4/java/android/support/v4/database/DatabaseUtilsCompat.java ./v4/java/android/support/v4/graphics/ColorUtils.java ./v4/java/android/support/v4/text/TextUtilsCompat.java ./v4/java/android/support/v4/util/TimeUtils.java ./v4/java/android/support/v4/util/DebugUtils.java ./v4/java/android/support/v4/content/res/TypedArrayUtils.java
???? (How to install)
allprojects {
repositories {
// other repositories
maven {
url "http://dl.bintray.com/ihongqiqu/maven"
}
}
}
dependencies {
compile 'com.ihongqiqu:android-utils:1.0.2'
}
???? (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" /> <!-- ?? UUID ?? --> <uses-permission android:name="android.permission.READ_PHONE_STATE" />
?? (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-2017 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.