Phone contacts image [photo]

Moderators: LCNeil, heatherlaine, kevinmiller, elanorb

Post Reply
newtronsols
Posts: 192
Joined: Tue Mar 11, 2014 12:57 pm

Phone contacts image [photo]

Post by newtronsols » Mon Aug 25, 2014 6:38 pm

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

Klaus
Posts: 13793
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Phone contacts image [photo]

Post by Klaus » Thu Sep 11, 2014 5:10 pm

If PHOTO is not listed in the dictionary underthe possible keys of the "mobileGetContactData" array then it is not supported!

newtronsols
Posts: 192
Joined: Tue Mar 11, 2014 12:57 pm

Re: Phone contacts image [photo]

Post by newtronsols » Thu Sep 11, 2014 6:42 pm

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?

Post Reply

Return to “idea2app and Coding School”