1. #1
    Sencha User
    Join Date
    Nov 2010
    Posts
    18
    Vote Rating
    0
    mmourtada is on a distinguished road

      0  

    Question how to dial a phone number from a link

    how to dial a phone number from a link


    I am using this code (a href="tel:1-222-222-5555") inside contact us page, it does not dial the number?
    any help on the correct format will be greatly appreciated, .

    Sorry for posting in the wrong area.

  2. #2
    Sencha User chrizmaster's Avatar
    Join Date
    Feb 2009
    Location
    Australia
    Posts
    441
    Vote Rating
    1
    chrizmaster is on a distinguished road

      -1  

    Default


    come on, think about it. Would'nt it be a huge security issue if this would be possible??

  3. #3
    Ext JS Premium Member
    Join Date
    Mar 2007
    Location
    France
    Posts
    223
    Vote Rating
    0
    tof is on a distinguished road

      0  

    Default


    Come on, he's asking how to make a link to a phone number, not to dial "automatically".

    There are solutions, but I think they differ a lot between smartphones. On some of them it's not even possible (AFAIR).
    Christophe Badoit
    aka Tof

    My work : Lesiteimmo.com - Unobstrusive ExtJs Powered !

  4. #4
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,361
    Vote Rating
    81
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    Quote Originally Posted by chrizmaster View Post
    come on, think about it. Would'nt it be a huge security issue if this would be possible??
    Chriz,

    It is actually part of the way iOS's webkit works.

  5. #5
    Ext User
    Join Date
    Oct 2010
    Posts
    9
    Vote Rating
    0
    iffius is on a distinguished road

      0  

    Default


    Try tel:+12222225555 for the uri and see if that works better. I think I read somewhere where you need the '+' before the country code for the number to be recognized by a lot of phones. BTW, the full RFC for the telephone URI is here - http://tools.ietf.org/html/rfc3966

  6. #6
    Sencha Premium Member
    Join Date
    Mar 2012
    Posts
    28
    Vote Rating
    0
    Edward Lu is on a distinguished road

      0  

    Default


    Quote Originally Posted by mmourtada View Post
    I am using this code (a href="tel:1-222-222-5555") inside contact us page, it does not dial the number?
    any help on the correct format will be greatly appreciated, .

    Sorry for posting in the wrong area.
    Hi mmourtada,

    I have the problem to display a phone number variable with html code. Could you please let me know how you put code <a href="tel:+12222225555">1-222-222-5555</a> to display on the formpanel so when clicking 1-222-2222-5555, it will dial.

    Here is my posting http://www.sencha.com/forum/showthre...in-a-textfield
    Thanks.

Similar Threads

  1. Accessing the phones serial / phone number
    By dpicky in forum Sencha Touch 1.x: Discussion
    Replies: 1
    Last Post: 5 Oct 2010, 1:34 PM
  2. Phone Number Validation
    By cchain in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 24 Jul 2009, 7:47 AM
  3. Trying to display phone number as separate fields
    By jimtyp in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 19 May 2009, 2:06 PM
  4. Phone Number renderer
    By frew in forum Ext 2.x: User Extensions and Plugins
    Replies: 1
    Last Post: 2 Apr 2009, 2:24 PM

Thread Participants: 5