Reputation: 11
Is there a way to figure out whether the front camera or the back camera was used to capture an image? If so, how can I get that information using the built-in Camera app?
Upvotes: 1
Views: 217
Reputation: 1803
Ok, first, where you must find this information? Directly in android or on a server on you have uploaded the image?
On server you can use exiftool to read the value of Camera Identifier in this way:
bin_path/exiftool <imagePath> | grep -E 'Camera Identifier'
Directly in android you can try to do the same and can find usefull start code here Getting all existing exif data from an image
Hope this help!
Upvotes: 2
Reputation: 963
Read image metadata, maybe there will be something useful.
Upvotes: 0