Core App utility: App Info (Fingerprint, SignatureKeyHash, etc.), Screen dimensions, SharedPreferences easy access, Units converter (mm/cm/inch/pix/pt/twip), MD5, etc.
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.
Step 1. Add the JitPack repository to your build file
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Step 2. Add the dependency with latest version
dependencies {
implementation("com.github.lordtao:android-tao-core:latestVersion")
}
- fixing
- added extensions and bindings classes
- 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