What is the code to link a graphic to my phone number?

Discussion in 'Android General Discussions' started by stanwelks, Feb 24, 2010.

  1. stanwelks
    Offline

    stanwelks New Member

    Joined:
    Oct 31, 2009
    Messages:
    201
    Likes Received:
    0
    Trophy Points:
    0
    I want to create a graphic with my phone number in it and place it on a website. What is the code to make it so users will be able to click on the graphic and it will automatically dial my number?

    Thanks.
  2. takeshi
    Offline

    takeshi New Member

    Joined:
    Nov 29, 2009
    Messages:
    4,600
    Likes Received:
    0
    Trophy Points:
    0
    No such thing that I'm aware of. Most devices know how to parse phone numbers whether they're in emails, texts, or on web sites, etc -- assuming the number's not in an image which is what it sounds like you're trying to do.
  3. KevinJ
    Offline

    KevinJ Member

    Joined:
    Dec 24, 2009
    Messages:
    363
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Earth
    You could probably generate a QR code for that, but it won't auto-dial. The person who scans the code would have to dial once the number in on their phone.
  4. Atook
    Offline

    Atook New Member

    Joined:
    Nov 29, 2009
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    0
    Are you looking to have users dial you with skype via their PC, or via their phone on a mobile site.

    I think if you just put your number in text form, a skype plugin will allow them to click it, and a mobile phone (like our droid) will dial it when clicked.

    So maybe text over the top of a button graphic.

    The other option is via google voice, they include a widget with the service that allows people to call you via clicking on a graphic.
  5. MNTNBKR
    Offline

    MNTNBKR Member

    Joined:
    Dec 9, 2009
    Messages:
    576
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Fenton, MI
    edit: Nevermind the text in the ***. I think takeshi was referring to the same thing.

    ***Me thinks hes asking about the same type of thins that any local business has when you do a voice search. The business name comes up, and right next to it is a phone number link. Click the link, and press send. (I don't know what the code is though.)***

    Alternatively, GV has a widget that can be placed on a website that you can click. and it will dial your GV number. If that's what you're asking about, then the instructions can be found in your GV settings.
  6. stanwelks
    Offline

    stanwelks New Member

    Joined:
    Oct 31, 2009
    Messages:
    201
    Likes Received:
    0
    Trophy Points:
    0
    I figured it out. The phone number was part of a graphic and not text so I had to make into an image map and I couldn't figure out how to make it so when the user hovered over the phone number and clicked on it it would dial the number. Here is the code:

    <area shape="rect" coords="14,58,163,98" href="tel:1-800-000-0000" />

    I actually found the info in iPhone developer documents and I figured it would most likely be the same protocol for Android, and it was. So you have to preface the phone number with the "tel:"

    Thanks for your responses.
  7. baniels
    Offline

    baniels New Member

    Joined:
    Dec 19, 2009
    Messages:
    576
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    52556
    You can generate one here is you select Phone Number for the content type.
  8. Zarniwoop
    Offline

    Zarniwoop New Member

    Joined:
    Nov 6, 2009
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    0
    The only thing I see special about that is the tel:

    Assuming the Area link works on a graphic, it will also work on text, like so:

    <a href="tel:18000000000"> Click here to call 1-800-000-0000 </a>

    Check out http://www.popularfront.com/posts/the-dilema-of-linking-to-telephone-numbers/

    or just Google for href tel for other info
  9. baniels
    Offline

    baniels New Member

    Joined:
    Dec 19, 2009
    Messages:
    576
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    52556
    Like my new signature?
Search tags for this page
bitmap link to phone number
,
click on image to call phone number html code
,
gv-number graphic
,
how to html code an image to call a phone number
,
how to link an icon to a telephone number
,
how to link to a phone number on image map
,
i want to make an image link to a phone number
,
image link phone number
,
image map phone number
,

link image to phone number

,
make image link to phone number
,
what is link on my phone?