Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.hexise:jaudiotagger-android:'
}
dependencies {
implementation("com.github.hexise:jaudiotagger-android:")
}
<dependency>
<groupId>com.github.hexise</groupId>
<artifactId>jaudiotagger-android</artifactId>
<version></version>
</dependency>
libraryDependencies += "com.github.hexise" % "jaudiotagger-android" % ""
:dependencies [[com.github.hexise/jaudiotagger-android ""]]
This is Jaudiotagger library for Android. Jaudiotagger is an Audio Tagging library.
This is a pure java library, you can compile the source to JAR file by yourself.
The compiled JAR library works on Android platform, has been tested on API level 14 and above.
<h2>Source</h2>The source code is based on Jaudiotagger library version 2.2.6.
Jaudiotagger library version 2.2.6 is build on JDK 1.8 and uses lots of nio features, which are not compatible with Android version lower than API level 26.
This Jaudiotagger library changes all incompatible parts with compatible API calls, which can compile and run on Android API level 14 and above.
For more information about Jaudiotagger, please refer to this link: http://www.jthink.net/jaudiotagger/
<h2>Main changes comparing to official library</h2>org.jaudiotagger.tag.TagOptionSingleton:
setAndroid() and isAndroid() methods are deleted, this library works and only works on Android.
Image handling related classes have been removed. You can use your own image handling logic based on Android API.
Removed classes:
Artwork related classes have been modified.
Removed classes:
Modifed classes:
Java nio API calls are refactored:
Java incompatible API change:
org.jaudiotagger.logging.LogFormatter:
This class is removed since it is unnecessary for Android platform.
This library is licensed under LGPL(Lesser General Public License), same license as Jaudiotagger official library.