Page 1 of 1

Phone contacts image [photo]

Posted: Mon Aug 25, 2014 6:38 pm
by newtronsols
Looking at mobileUpdateContact contactArray the contact array lists:
firstname – the first name
middlename – the middle name
lastname – the last name
..etc

But not an image [photo]. So where is the image [photo] stored in the contacts on a phone?

Ref: http://developer.android.com/reference/ ... Photo.html

says: "the default "photo" is a thumbnail-sized image stored directly in the data row"

Still trying things like:
put mobileGetContactData(tID) into tcontact
put the long id of tcontact["photo"] into image "contactimage"
I've tried nearly every permutation I can think of. ["photo"]["photo"]..["data"]["photo"] - based on stuff I've read online in other prog. languages.

If you don't understand this question[because of the way I've asked it]: see
http://stackoverflow.com/questions/2571 ... roid?stw=2

Re: Phone contacts image [photo]

Posted: Thu Sep 11, 2014 5:10 pm
by Klaus
If PHOTO is not listed in the dictionary underthe possible keys of the "mobileGetContactData" array then it is not supported!

Re: Phone contacts image [photo]

Posted: Thu Sep 11, 2014 6:42 pm
by newtronsols
I presume the contact data array would be similar to 'aaaa,bbb,xxxxx' - where xxxxx would be the contact photo. So Livecode must be actively stripping this data out of the array - for some reason?

I'm also shocked nobody ever asked about the contacts photo before - so many apps use these.

Also what about:
...while the "display photo", if present, is a larger version stored as a file. This must be available via a URL?