View Single Post
Old 07-26-2008, 02:26 AM   #1 (permalink)
Thumbs Must Hurt
baran_khan's Avatar
Join Date: Apr 2008
Model: 9500
Carrier: Airtel
Posts: 110
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Cannot Fetch ATTR_MOBILE parameter from address book

Please Login to Remove!


I am trying to fetch the mobile number of the contact from the address book.

When I try following command:
phone= contact.getString(Contact.TEL, Contact.ATTR_FAX);

it works fine and fetch me the fax number of the contact, but when I replace "ATTR_FAX" with "ATTR_MOBILE" am getting null in return. Although I have filled all the values in the address book for the contact.

Any idea bout where I might be wrong????
Smart People ask for Help!!!
Offline   Reply With Quote