Page 1 of 2 12 LastLast
Results 1 to 10 of 14
Discuss [SMS] How to add Phone numbers in a message to Contacts ? at the Free Toolchain Software (Cydia App's) - Hackint0sh.org; Hi. Is there any way to change how the SMS app. recognize a number within ...
  1. #1
    Professional Array chivopelado's Avatar

    Join Date
    Oct 2007
    Posts
    74
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    10

    Default [SMS] How to add Phone numbers in a message to Contacts ?

    Hi.

    Is there any way to change how the SMS app. recognize a number within a message as a phone number (blue underline and linked to phonebook)?

    The thing is that I receive from my provider a SMS messages with missed calls phone numbers while my phone is off but they don't link to a valid phone number (again blue and underline) so I have to write the number down and type it on my phone to know who it was that called me. what I have discovered is as follow:

    when I receive a 7 number message it turns blue (1234567)
    when I receive a 10 number message it tuns blue (4041234567)
    when I receive a 9 digit number with formats like (09)1234567 or 09 1234567 or 09-1234567 it turns blue.
    but when I get a 9 digit number message with no spacing or anything in the middle (which is what I need to be linked) I get nothing (091234567)

    I'm currently on 1.1.2.

    Thanks in advance for any help.



  2. #2
    Rookie Array

    Join Date
    Nov 2007
    Posts
    10
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    I would like to see this fix too,

    i've been searching on this, but i didn't find anything,

    if anyone can help i will really appreciate it.

    thanks

  3. #3
    Advanced Array

    Join Date
    Dec 2007
    Posts
    44
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    I was looking into this problem some time ago and still didn't found the fix. I also need 9 digit numbers linked (it's a most common way of writing numbers in my country).

    After some investigation I found that the culprit is either URLify framework, which does the linking or AppSupport framework which does phone number matching. URLify file itself is small and contain some REGexps for common links (like http, www and such), but I didn't found phone number formats. Then I've checked AppSupport framework, which is linked to URLify, but I didn't found anything there either. I tried to add a template to PhoneNumberTemplates (which is from modified AppSupport) but stil no avail.

    Anyone care to help?

  4. #4
    Supporter Array

    Join Date
    Oct 2006
    Posts
    54
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Has the iPhone been released in your countries yet? If not I'd imagine that the problem is related to your locale as the iPhone doesn't recognise it and format the numbers properly, although why Apple haven't just allowed all numbers from an SMS to be passed to the dialler instead of being country specific I have no idea.

  5. #5
    Developer Array mitchellmoxo's Avatar

    Join Date
    Jan 2008
    Location
    Uni ted king dom..
    Posts
    636
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    39

    Default

    i dont think people would be able to develop an app for this because you cant get an app to run in the background...


  6. #6
    Advanced Array

    Join Date
    Dec 2007
    Posts
    44
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    @mitchellmoxo: Wrong and wrong. You CAN get an app running in the background (it's called a daemon), but it's not the case here. I successfully wrote a script that replaces 9 digit numbers in SMS to 10 digit ones (with "0" at the beginning), but unfortunately from 1.1.3 sms.db format changed and you're not allowed to make outside changes to db.

    A solution though would be a patch to URLify or AppSupport frameworks to support 9 digit numbers, like the previous AppSupport patch.

  7. #7
    Rookie Array

    Join Date
    Nov 2007
    Posts
    10
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    I found a problem.

    If the phone numbers in the sms have a space in front and after, like abcdefg 012345678 abcdefg, it will be blue and can be dial out.

    If the numbers are like abcdefg012345678abcdefg, it wont be recognize as phone number.

    Can anyone fix this?

    thanks

  8. #8
    Advanced Array

    Join Date
    Dec 2007
    Posts
    44
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    dtmars: The space is important too, but still 9-digit numbers even with spaces aren't linked. There is one exception though - if you start a number with a 0 - it will be linked.

  9. #9
    Advanced Array

    Join Date
    Dec 2007
    Posts
    44
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Ok, I ended up with creating this script:

    http://iphone.artdstract.pl/smsfix.sh

    It runs in the background and checks for unread SMS with 9-digit numbers. When it finds one, it converts them to format xxx-xxx-xxx, which is recognized by iPhone.

    One known issue is that often message with the number is put out of its original conversation. I don't know why does it happen so the fix is unknown atm. If someone comes up with something let me know.

  10. #10
    Professional Array chivopelado's Avatar

    Join Date
    Oct 2007
    Posts
    74
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    10

    Default

    Quote Originally Posted by dtmars View Post
    I found a problem.

    If the phone numbers in the sms have a space in front and after, like abcdefg 012345678 abcdefg, it will be blue and can be dial out.

    If the numbers are like abcdefg012345678abcdefg, it wont be recognize as phone number.

    Can anyone fix this?

    thanks
    Are you sure you get a blue number?? I tried what you said (asdfasdf 098765431 asdasd) and nothing... what fw are you on?

    PS. Nice to see people have the same problem... I thought I was alone on this (sorry for you guys though )


 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Contacts Numbers
    By karabey in forum iPhone 3G
    Replies: 13
    Last Post: 10-21-2011, 09:11 PM
  2. Any software to select few contacts at once for text message?
    By shaneel786 in forum AppStore Software
    Replies: 5
    Last Post: 11-19-2009, 01:55 AM
  3. Need Help - Contacts doesn't show numbers
    By roymseafood in forum iPhone 3G
    Replies: 0
    Last Post: 02-18-2009, 12:37 AM
  4. Replies: 4
    Last Post: 03-22-2008, 12:05 PM
  5. Get access to contacts and phone numbers?
    By mrl72 in forum Free Toolchain Software (Cydia App's)
    Replies: 1
    Last Post: 09-12-2007, 12:02 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 01:03 AM.
twitter, follow us!