Win a copy of Mastering Non-Functional Requirements this week in the Design 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 ]
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!