Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Help using PIM API  RSS feed

Rita Smith
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,
Can anyone tell me how to get the mobile number for a contact using the PIM Api? I am getting aa illegalArgumentException with the following code

The line in bold is throwing the error. Any help would be appreciated.

Well, I found that using Contacts.TEL will get me the mobile number as well as any other phone numbers available. Now my question is how can I know that the number I have is a home or mobile?
Thanks, Rita
[ March 26, 2006: Message edited by: Rita Smith ]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!