I created an open-source project for this, under the Apache 2.0 license. You can find it here: http://code.google.com/p/sanselanandroid/
I fixed one issue. That fixes a possible out-of-memory issue when writing Exif to large JPEGs. On Sep 20, 4:34 pm, "admin.androidsl...@googlemail.com" <admin.androidsl...@googlemail.com> wrote: > Thanks for this - very useful and works perfectly. > > But it compiles to 300kb which doubles to 600kb for copy protected > apps. > > Anyway to make a streamlined version of this app to just embed a gps > location in a jpeg file? > > Alex > > On Jul 24, 2:41 am, Streets Of Boston <flyingdutc...@gmail.com> wrote: > > > > > Android does not provide an Exif Reader or Exif Writer in its SDK (it > > has a native implemenation, though, but that API is private). > > > TheSanselanlibrary, however, does provide a full fledged set of > > functionality for reading and writing Exif metadata. > > > However,Sanselanpur 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 ofSanselan0.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 like its > > working quite well. Reading and writing raw image-data is, however, > > not possible in this cut. This has been cut out. > > > You can download it from this > > web-post:http://soft.antonspaans.com/sanselan-097-for-android-10/154- Hide > > quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---