Jul 23, 2009 1
Sanselan 0.97 for Android
Android does not provide an Exif Reader or Exif Writer in its SDK (it has a native implemenation, though, but that API is private).
The Sanselan library, however, does provide a full fledged set of functionality for reading and writing Exif metadata.
However, Sanselan pur sang cannot be included in an Android Project. It references classes and packages that do not exist under the current version of Android (e.g. ImageIO).
Therefore, I made a quick cut of Sanselan 0.97, cutting out all the classes that prevent it from being used on the Android platform. It is a quick cut and it may have some issues. However, I got its exif reading and writing to work for my application and it looks its working quite well. Reading and writing raw image-datais however not possible in this cut. This has been cut out.
You can download the Sanselan sources from here:
Sanselan 0.97 for Android
If you want to make it into a proper library (JAR), you have to do that yourself
Recent Comments