how to get device name

Topics: Developer Forum, Project Management Forum, User Forum
Jul 8, 2011 at 10:51 AM

hi all,

this picture http://www.flickr.com/photos/63553104@N08/5899928191 is capture by Iphone 4 , but i don't know how to get device name is "Iphone 4" .

please help me to get device name .

thanks

Coordinator
Jul 8, 2011 at 10:54 AM

You can request the EXIF data for the photo, using PhotoGetExif, but you will have to parse the results and find the device name yourself, as this isn't information Flickr provide natively.

Sam

Jul 8, 2011 at 12:04 PM

thanks Sam,

and could you please help me how to parse the result. I tried to get the model of camera but i don't know how to get.

thanks

Coordinator
Jul 8, 2011 at 12:12 PM

You just need to search for the ExifTag with a Label of "Model" and read the "Raw" property, which is "iPhone 4".

Sam

Jul 8, 2011 at 12:13 PM

thanks Sam :)