You Are Here:

Community: Developer Discussion Boards

#1 Old i.address(m[0]) - 2007-11-07, 05:58

Join Date: Sep 2007
Posts: 69
rabaf
Offline
Regular Contributor
When i use the i.address(m[0]) then i am geeting the address of sender but if name is in my contacts then i get the name rather then the number.I want to use the number and not the name.Can anybody provide logic for this?
Reply With Quote

#2 Old Re: i.address(m[0]) - 2007-11-07, 06:07

Join Date: May 2007
Posts: 2,738
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Offline
Forum Nokia Champion
Hello rabaf

Yes if the sender is saved to your phonebook then you get just the name..If you need the number of the sender then you should use the contacts [db = contacts.open()]and compare each entry in the contacts with the name of the sender to get the number.I think that logic must help...

If you are looking for direct code solutions then I have the code for this on my page here

Hope this helps

Best Regards
croozeus
Reply With Quote

#3 Old Re: i.address(m[0]) - 2007-11-07, 13:59

Join Date: Sep 2007
Posts: 69
rabaf
Offline
Regular Contributor
Thanks i have got it working!!
Learnt few more things on your page..
thnks again
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia