I have seen the 1.0 release of Apache Tika, which ease a lot metadata extraction in Java, and I'm wondering if it can be used in Android.
I'd suspect you should be fine to port the core of Tika to Android. However, you're likely to have issues with a lot of the dependencies of Tika, so many of the parsers won't work
For example, one of the dependencies of Apache Tika is Apache POI. People have tried to compile POI for Android, but have hit issues with the method limit that Android imposes. Here's one discussion on this on the POI lists, and here's another.
You're likely to hit similar issues with other of the dependencies of Tika too. So, I'd expect getting the core in won't be too bad, but you'll have to cut out some of the parsers to fit within the Android limitations.
Yes it is, however, you should probably extract only the parsers you need since it is a fairly large library to include in a mobile application. My project uses the MP3, Flac, OGG, and Vorbis parsers to retrieve metadata from audio files. Here is a link to the stripped down JAR file if you are interested:
http://servestream.svn.sourceforge.net/viewvc/servestream/trunk/lib/tika-app-1.0.jar?view=log
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With