Skip to content
This repository was archived by the owner on Jul 21, 2020. It is now read-only.

newnius/util-android

Repository files navigation

util-android

Collection of utility methods, framework, etc in android

Collection of utility methods, framework, etc

Those tools are divided as independent as possible thus They can be combined casually to create many useful things, such as spider, general DAO, logger, IM app etc.

Class Available:

CRBackgroundTask

  • Do CRWhatToDo in background and call CRCallback when finished
  • Callback is called in UI thread

CRCallback

  • Often use with CRCallback and CRBackgroundTask to finish a background task

CRDAO

  • Provide simple interface for database access

CRErrorCode

  • Use errorcode instead of using int directly

CRException

CRLogger

  • Log message and save them

CRMsg

  • Extends CRObject
  • Often used in socket connection to exchange message

CRObject

  • Present an object without creating a new class
  • Note: unable to present list now

CRRegEx

  • Find certain string(s)
  • Validate string of email, phone etc.

CRSpider

  • get or post to url to get resources
  • many customized options

CRWhatToDo(Interface)

  • Often use with CRCallback and CRBackgroundTask to finish a background task

HashMethods (Still in test)

  • Including normally used hash methods

About

utility classes of android

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages