All Projects → h4de5ing → Androidcommon

h4de5ing / Androidcommon

基于Android系统Api封装常用工具类

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Androidcommon

Autoremove Torrents
Automatically remove torrents according to your strategies.
Stars: ✭ 298 (-65.75%)
Mutual labels:  utils
Ethereumjs Util
Project is in active development and has been moved to the EthereumJS monorepo.
Stars: ✭ 534 (-38.62%)
Mutual labels:  utils
Devutils
🔥 ( 持续更新,目前含 160+ 工具类 ) DevUtils 是一个 Android 工具库,主要根据不同功能模块,封装快捷使用的工具类及 API 方法调用。该项目尽可能的便于开发人员,快捷、高效开发安全可靠的项目。
Stars: ✭ 680 (-21.84%)
Mutual labels:  utils
Pydu
Useful data structures and utils for Python
Stars: ✭ 315 (-63.79%)
Mutual labels:  utils
Tailwind
🔥 A schematic that adds Tailwind CSS to Angular applications
Stars: ✭ 398 (-54.25%)
Mutual labels:  utils
Emacs Elisp Programming
Tutorial about programming Elisp and Emacs text editor customization.
Stars: ✭ 548 (-37.01%)
Mutual labels:  utils
portuguese-utils
A set of useful utils for developing portuguese apps
Stars: ✭ 20 (-97.7%)
Mutual labels:  utils
Mongodb Utils
MongoDB utils library for Node.js
Stars: ✭ 9 (-98.97%)
Mutual labels:  utils
React Hooks Lib
A set of reusable React Hooks.
Stars: ✭ 460 (-47.13%)
Mutual labels:  utils
Netutils Linux
A suite of utilities simplilfying linux networking stack performance troubleshooting and tuning.
Stars: ✭ 664 (-23.68%)
Mutual labels:  utils
Superutils
The utils Project
Stars: ✭ 325 (-62.64%)
Mutual labels:  utils
React Element To Jsx String
Turn a ReactElement into the corresponding JSX string
Stars: ✭ 349 (-59.89%)
Mutual labels:  utils
Ramda Adjunct
Ramda Adjunct is the most popular and most comprehensive set of functional utilities for use with Ramda, providing a variety of useful, well tested functions with excellent documentation.
Stars: ✭ 550 (-36.78%)
Mutual labels:  utils
Androidutilcodektx
Kotlin Android Util Code
Stars: ✭ 309 (-64.48%)
Mutual labels:  utils
Utils
A collection of useful PHP functions, mini classes and snippets that you need and can use every day.
Stars: ✭ 750 (-13.79%)
Mutual labels:  utils
utils
javascript library of helper functions I use
Stars: ✭ 13 (-98.51%)
Mutual labels:  utils
Macproject
这是一个用 Objective-C 写的 iOS 轻量级框架,旨在快速构建 iOS App,欢迎 Star
Stars: ✭ 544 (-37.47%)
Mutual labels:  utils
Lxd Functions
Simple script to mount LXD container and match host user with container user (uid/gid)
Stars: ✭ 11 (-98.74%)
Mutual labels:  utils
Myjdbc Rainbow
jpa--轻量级orm模式对象与数据库映射api
Stars: ✭ 23 (-97.36%)
Mutual labels:  utils
Java Study
java-study 是本人学习Java过程中记录的一些代码!从Java基础的数据类型、jdk1.8的Lambda、Stream和日期的使用、 IO流、数据集合、多线程使用、并发编程、23种设计模式示例代码、常用的工具类, 以及一些常用框架,netty、mina、springboot、kafka、storm、zookeeper、redis、elasticsearch、hbase、hive等等。
Stars: ✭ 571 (-34.37%)
Mutual labels:  utils

How to use In Android Studio

compile 'com.code19.library:library:0.1.4'

notes

0.1.4 removed ToastUtils,ViewUtils.java,SpannableStringUtils.java,if you used then,you can use 0.1.2.

Common Utils

Demo:
AppUtils.getAppName(MainActivity.this,"com.code19.androidcommon");

中文文档

library Module:

  • AppUtils.java (about Application tools)

    • getAppName
    • getAppIcon
    • getAppFirstInstallTime
    • getAppLastUpdateTime
    • getAppSize
    • getAppApk
    • getAppVersionName
    • getAppVersionCode
    • getAppInstaller
    • getAppSign
    • getAppTargetSdkVersion
    • getAppUid
    • getNumCores
    • getRootPermission
    • getAppPermissions
    • hasPermission
    • isInstalled
    • installApk
    • uninstallApk
    • isSystemApp
    • isServiceRunning
    • stopRunningService
    • killProcesses
    • runScript
    • runApp
    • cleanCache
    • cleanDatabases
    • cleanSharedPreference
  • CipherUtils.java

    • md5(String input)
    • md5L(String input)
    • md5(InputStream in)
    • base64Encode
    • base64Decode
    • XorEncode
    • XorDecode
    • sha1(String str)
    • sha1(File file)
  • DateUtil.java

    • formatDataTime
    • formatDate
    • formatTime
    • formatDateCustom
    • string2Date
    • getDate
    • getTime
    • getDateTime
    • subtractDate
    • getDateAfter
    • getWeekOfMonth
    • getDayOfWeek
  • DensityUtil.java

    • dip2px
    • dip2sp
    • px2dip
    • px2sp
    • sp2px
    • sp2dip
    • getScreenW
    • getScreenH
    • getScreenRealSize
    • getStatusBarH
    • getNavigationBarrH
  • DeviceUtils.java

    • getAndroidID
    • getIMEI
    • getIMSI
    • getWifiMacAddr
    • getIP
    • getWifiIP
    • getGPRSIP
    • getSerial
    • getSIMSerial
    • getMNC
    • getCarrier
    • getModel
    • getBuildBrand
    • getBuildHost
    • getBuildTags
    • getBuildTime
    • getBuildUser
    • getBuildVersionRelease
    • getBuildVersionCodename
    • getBuildVersionIncremental
    • getBuildVersionSDK
    • getBuildID
    • getSupportedABIS
    • getManufacturer
    • getBootloader
    • getScreenDisplayID
    • getDisplayVersion
    • getLanguage
    • getCountry
    • getOSVersion
    • getGSFID
    • getBluetoothMAC
    • getPsuedoUniqueID
    • getFingerprint
    • getHardware
    • getProduct
    • getDevice
    • getBoard
    • getRadioVersion
    • getUA
    • getDensity
    • getGoogleAccounts
  • FileUtils.java

    • closeIO
    • isFileExist
    • writeFile
    • readFile
    • readFile
    • copyFile
    • copyFileFast
    • shareFile
    • zip
    • unzip
    • formatFileSize
    • Stream2File
    • createFolder
    • createFolder
    • getFileName
    • getFileSize
    • rename
    • getFolderName
    • getFilesArray
    • deleteFile
    • deleteFileByDirectory
    • openImage
    • openVideo
    • openURL
    • downloadFile
    • upgradeApp
    • isSDCardAvailable
    • getAppExternalPath
    • getExtraPath
  • JsonUtils.java

    • toJson
    • fromJson
    • mapToJson
    • collection2Json
    • object2Json
    • string2JSONObject
  • L.java

    • init //Init the Log set Debug and Tag
    • v VERBOSE
    • d DEBUG
    • i INFO
    • w WARN
    • e ERROR
    • a ASSERT
    • json
    • xml
  • NetUtils.java

    • getNetworkType
    • getNetworkTypeName
    • isConnected
    • isNetworkAvailable
    • isWiFi
    • openNetSetting
    • setWifiEnabled
    • setDataEnabled
    • getWifiScanResults
    • getScanResultsByBSSID
    • getWifiConnectionInfo
  • SPUtils.java

    • setSP
    • getSp
    • cleanAllSP
  • StringUtils.java

    • getChsAscii
    • convert
    • getSelling
    • parseEmpty
    • isEmpty
    • chineseLength
    • strLength
    • subStringLength
    • isChinese
    • isContainChinese
    • strFormat2
    • convert2Int
    • decimalFormat
  • SystemUtils.java

    • sendSMS
    • forwardToDial
    • sendMail
    • openWeb
    • openContacts
    • openSettings
    • hideKeyBoard
    • isBackground
    • isSleeping
    • installApk
    • isRooted
    • isRunningOnEmulator
    • goHome
    • hexdigest
    • getDeviceUsableMemory
    • gc
    • getProcessName
    • createDeskShortCut
    • createShortcut
    • shareText
    • shareFile
    • getShareTargets
    • getCurrentLanguage
    • getLanguage
    • isGpsEnabled
    • showSoftInputMethod
    • closeSoftInputMethod
    • showSoftInput
    • closeSoftInput
    • toWeChatScan
    • toAliPayScan
    • toAliPayPayCode
    • getRandomNumber
  • VerificationUtils.java

    • matcherRealName
    • matcherPhoneNum //just matcher chinese phone number
    • matcherAccount
    • matcherPassword
    • matcherPassword2
    • matcherEmail
    • matcherIP
    • matcherUrl
    • isNumeric
    • testRegex

Thanks to all the open source programmers

License

  Copyright (C)  2016 [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.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].