Giter VIP home page Giter VIP logo

jaudiotagger-android's Introduction

Jaudiotagger for 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.

Source

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/

Main changes comparing to official library

  • 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:

    • org.jaudiotagger.tag.images.ImageHandler;
    • org.jaudiotagger.tag.images.StandardImageHandler;
    • org.jaudiotagger.tag.images.AndroidImageHandler;
    • org.jaudiotagger.tag.images.ImageHandlingFactory;
    • org.jaudiotagger.tag.images.Images;
  • Artwork related classes have been modified.

    Removed classes:

    • org.jaudiotagger.tag.images.StandardArtwork;

    Modifed classes:

    • org.jaudiotagger.tag.images.ArtworkFactory: now only support AndroidArtwork.
  • Java nio API calls are refactored:

    • The try-with-resources statements are replaced with RandomAccessFile, file channel and manually resource releasing.
    • Usages of java.nio.file.Path are replaced by java.io.File.
    • org.jaudiotagger.audio.generic.Permissions and its references are removed.
    • References to java.nio.charset.StandardCharsets are replaced with org.jaudiotagger.StandardCharsets.
  • Java incompatible API change:

    • javax.imageio.* imports and calls are removed.
    • java.awt.* imports and calls are removed.
    • Character.isAlphabetic() call is changed since it is only available on Android 19.
  • org.jaudiotagger.logging.LogFormatter:

    This class is removed since it is unnecessary for Android platform.

License

This library is licensed under LGPL(Lesser General Public License), same license as Jaudiotagger official library.

jaudiotagger-android's People

Contributors

hexise avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.