• Post Reply Bookmark Topic Watch Topic
  • New Topic

Help using PIM API

 
Rita Smith
Greenhorn
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 ]
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!