App utility: App Info (Fingerprint, SignatureKeyHash, etc.), Screen dimensions, Units converter (mm/cm/inch/pix/pt/twip), MD5, File utils.
Easy access to the basic information about your device and the application. Shows in the log the detailed information.
AppConfig.init(this);
AppConfig.printInfo();
Easy work with default Shared preferences:
AppConfig.putSetting(key, isGood);
...
AppConfig.getBoolean(key, true);
Returns information about applications installed on the device (Fingerprint, SignatureKeyHash, etc.)
Calculate Md5 from InputStream, files. Generate a hash String for different data sources.
Static methods for different screen parameters
Units measures converter
Simple file downloader
Operations with files, assets and dirs - copy/rename/delete/create. Clear the app data.
Operations with file name - extracting, adding, modifying path parts and file extensions.
Android tao core lib is available on Bintray. Please ensure that you are using the latest versions by
Gradle dependency for your Android app:
add to general build.gradle
allprojects {
repositories {
jcenter()
maven {
url "http://dl.bintray.com/lordtao/maven"
}
}
}
add to your module build.gradle
compile 'ua.at.tsvetkov:taocore:1.5.0'
- fixing
- added extensions and bindings classes
- Gradle version update
- Kotlin version update
- fixing
- fixing
- refactoring.
- added Demo
- refactoring.
- fields validator moved in the separate project.
- convert to Kotlin.
- removed Log module. See separate project - android-tao-log