Which Arrays with mobileGetContact ?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Which Arrays with mobileGetContact ?
Hi,
With mobilePickContact I can read data from the address book.
With mobileGetContact I can evaluate the individual fields such as lastname, firstname.
Which fields are there still?
I'm looking for the name of the array phone number for business, personal, mobile
thank you in advance
With mobilePickContact I can read data from the address book.
With mobileGetContact I can evaluate the individual fields such as lastname, firstname.
Which fields are there still?
I'm looking for the name of the array phone number for business, personal, mobile
thank you in advance
-
- VIP Livecode Opensource Backer
- Posts: 9823
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Which Arrays with mobileGetContact ?
See the Dictionary entry for mobileGetContactData for a complete list of array elements returned from that function.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Which Arrays with mobileGetContact ?
great
Thanks alot!
Greetings from Germany
Gille
Thanks alot!
Greetings from Germany
Gille
Re: Which Arrays with mobileGetContact ?
but how do I get to the phone numbers?
thank you in advance
thank you in advance
-
- VIP Livecode Opensource Backer
- Posts: 9823
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Which Arrays with mobileGetContact ?
I found the mobilePickContact command among the "See Also" list in the Dictionary entry for mobileGetContactData.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Which Arrays with mobileGetContact ?
I do not know what you mean.
I want to read the phone numbers.
Best regards
I want to read the phone numbers.
Best regards
Re: Which Arrays with mobileGetContact ?
What he means is that those entries and links in the dictionary will tell you what you want to know.
Never underestimate the value of the 'see also' section.-
- VIP Livecode Opensource Backer
- Posts: 9823
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Which Arrays with mobileGetContact ?
Bogs is right, Gille. I was trying to give you both a fish and a fishing pole, so you get the answer to the question you have now and a good means of finding answers for new ones later on.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Which Arrays with mobileGetContact ?
And of course, it is better than being beaten about the head and shoulders with a fish
All kidding aside, the links in 'see also' can lead you on to a lot of information you wouldn't normally think to look up by guessing the words you need.
In most other IDEs, autocomplete in the editor *kind* of encourages this, but of course is targeted more at words that look like what you are already typing. I think that is where 'see also' really flys best, it shows you keywords that are relevant to what your looking at.
All kidding aside, the links in 'see also' can lead you on to a lot of information you wouldn't normally think to look up by guessing the words you need.
In most other IDEs, autocomplete in the editor *kind* of encourages this, but of course is targeted more at words that look like what you are already typing. I think that is where 'see also' really flys best, it shows you keywords that are relevant to what your looking at.
Re: Which Arrays with mobileGetContact ?
hi her good,
i like fishing ...
Only you always need a good bait
But today I do not catch anything. I'm so sad...
i like fishing ...
Only you always need a good bait
But today I do not catch anything. I'm so sad...
Re: Which Arrays with mobileGetContact ?
Huh, I'm surprised, maybe the problem is that Richard and I are working from older dictionaries. I believe in the newer Lc, instead of "See also" it now says "Related". Is that what is throwing you off?
Or it may be the differences in the categories, now that I was flipping through the new dictionary entries. I'll quote it from one of the older dictionaries I use, my apologies if the above is the problem you were having.
*Edit - There seems to be a great deal of info missing from the newer dictionary, curious if you actually looked at what came up in there Richard. Max's wiki appears to also be missing a lot of it, but I suspect that might be because much of the base of the page was made up from the dictionary itself.
Either that, or the function itself has been seriously truncated?
Or it may be the differences in the categories, now that I was flipping through the new dictionary entries. I'll quote it from one of the older dictionaries I use, my apologies if the above is the problem you were having.
Hope that helps to clear it up for you. Another (probably better) source for you to look through would be Max's Wiki, which often times goes into a great deal more depth than even the older dictionaries.Dictionary wrote: lower on the page)(
Telephone Numbers - The telephone numbers of the contact are stored in integer indexed arrays starting at one under the key phone. This allows any number of telephone numbers to be stored against a particular category. There are ten categories of phone numbers:
• mobile - The mobile telephone number.
• iphone - The iPhone telephone number (iOS only).
• main - The main telephone number (iOS only).
• home - The home telephone number.
• work - The work telephone number.
• homefax - The home FAX number (iOS only).
• workfax - The work FAX number (iOS only).
• otherfax - The other FAX number (iOS >= 5.0 only).
• pager - The pager number (iOS only).
• other - An alternative telephone number.
*Edit - There seems to be a great deal of info missing from the newer dictionary, curious if you actually looked at what came up in there Richard. Max's wiki appears to also be missing a lot of it, but I suspect that might be because much of the base of the page was made up from the dictionary itself.
Either that, or the function itself has been seriously truncated?
Re: Which Arrays with mobileGetContact ?
My prayers were heard!
It is a bit difficult for us Germans, as for example "business"
Company, Business etc. is used.
You are the best!
I'm closing time now - it's 11 o'clock in the evening.
Do it well and see you soon
Your Gille
It is a bit difficult for us Germans, as for example "business"
Company, Business etc. is used.
You are the best!
I'm closing time now - it's 11 o'clock in the evening.
Do it well and see you soon
Your Gille
-
- VIP Livecode Opensource Backer
- Posts: 474
- Joined: Thu Sep 04, 2008 6:23 am
- Location: Melbourne Australia
Re: Which Arrays with mobileGetContact ?
Well done bogs.
Seems the current ldoc for this function has been severely truncated.
Bug reported http://quality.livecode.com/show_bug.cgi?id=21003
Seems the current ldoc for this function has been severely truncated.
Bug reported http://quality.livecode.com/show_bug.cgi?id=21003
Re: Which Arrays with mobileGetContact ?
Glad I could help Gille, sorry it took me so long to figure out the disconnect we were all having
@ James, thanks for reporting it, if you ever go through the older docs (Lc 7.x and before), you'll find a lot that just comes out weirdly missing as versions get newer. It is almost like parts got lost during certain version updates, and it is pretty hard to keep track of.
And of course, it is hard to tell what was changed for practical reasons (some function changed, like 'specialFolderPath' over the years), or what was truncated due to... space? coding mistake? fire next door? No one knows for sure. Just weird
@ James, thanks for reporting it, if you ever go through the older docs (Lc 7.x and before), you'll find a lot that just comes out weirdly missing as versions get newer. It is almost like parts got lost during certain version updates, and it is pretty hard to keep track of.
And of course, it is hard to tell what was changed for practical reasons (some function changed, like 'specialFolderPath' over the years), or what was truncated due to... space? coding mistake? fire next door? No one knows for sure. Just weird