Is there any 3rd part api for android to read exif tags from image which support api level starting from 1.5.
相关问题
- How can I create this custom Bottom Navigation on
- Bottom Navigation View gets Shrink Down
- How to make that the snackbar action button be sho
- Listening to outgoing sms not working android
- How to create Circular view on android wear?
相关文章
- android开发 怎么把图片放入drawable的文件夹下
- android上如何获取/storage/emulated/下的文件列表
- androidStudio有个箭头不认识
- SQLite不能创建表
- Windows - Android SDK manager not listing any plat
- Animate Recycler View grid when number of columns
- Why is the app closing suddenly without showing an
- Android OverlayItem.setMarker(): Change the marker
The metadata extraction library by Drew Noakes works well for extracting EXIF tags on earlier Android platform versions,
with a slight modification. I am using it on Android 1.6 to extract tags from JPEG images.You will need to download and build the source code yourself, and package it with your app. (I'm using release 2.3.1.) Make the following changes tocom.drew.imaging.jpeg.JpegMetadataReader
:Remove the following import statement:
import com.sun.image.codec.jpeg.JPEGDecodeParam;
Delete the following method (which you won't need on Android):
public static Metadata readMetadata(JPEGDecodeParam decodeParam) { ... }
Remove the
com.drew.metadata.SampleUsage
class, which references the method deleted above. Also remove all of the test packages.That's all there is to it. Here's an example of using the
JpegMetadataReader
to extract a date-time tag from a JPEG image stored on the SD card:For what it worth, did you try to use the native ExifInterface class ?
http://developer.android.com/reference/android/media/ExifInterface.html
Should be must faster than using a 3rd party library ;)