Hallo,
ich versuche mit der Funktion mobileGetContactData die Adresse (Straße und Wohnort) einer Person aus der Kontakte-App meines Android-Smartphones zu holen. Im Dictionary werden nur diese Schlüssel aufgeführt:
„firstname“: The first name.
„middlename“: The middle name.
„lastname“: The last name.
„alternatename“: The alternative name.
„nickname“: The nick name (iOS only).
„firstnamephonetic“: The phonetic transcription of the first name.
„middlenamephonetic“: The phonetic transcription of the middle name.
„lastnamephonetic“: The phonetic transcription of the last name.
„prefix“: The name prefix.
„suffix“: The name suffix.
„organization“: The name of the organization.
„jobtitle“: The job title (iOS only).
„department“: The name of the department (iOS only).
„message“: A person message (iOS only).
„note“: A person note.
Wo finde ich die Straße und den Wohnort?
Mein Code:
on mouseup
mobilePickContact
put the result into tContactID
put mobilegetcontactdata (tContactID) into tContactData
put tContactData ["lastname"] into Field FStrecke
put tContactData ["address"]["city"] after field FStrecke
end mouseup
„lastname“ funktioniert. „adress“ oder „city“ (und ich hab schon anderes ausprobiert) ergibt kein Ergebnis.
Kann mir jemand helfen?