Results 1 to 10 of 10

Thread: Make a Phone call ?

  1. #1
    Sencha User
    Join Date
    Dec 2010
    Posts
    48
    Vote Rating
    0
      0  

    Default Make a Phone call ?

    Hi All ,
    In my application i want to make a phone call to a particular number .
    How can i make this ?


    Any help would be appreciated
    Shiju

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,318
    Vote Rating
    1291
      0  

    Default

    Do a Google search about how to make a link that will allow it to handle phone numbers
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Nov 2010
    Location
    Norway
    Posts
    56
    Vote Rating
    2
      1  

    Default

    Just add the phone number in a link with "tel", like you would dot to send mail with "mailto".
    <a href="tel:+4722222222">Call</a>

  4. #4
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,318
    Vote Rating
    1291
      0  

    Default

    Quote Originally Posted by aCa View Post
    Just add the phone number in a link with "tel", like you would dot to send mail with "mailto".
    <a href="tel:+4722222222">Call</a>
    "Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime."

    Just sayin...
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  5. #5
    Sencha User
    Join Date
    Nov 2010
    Location
    Norway
    Posts
    56
    Vote Rating
    2
      0  

    Default

    Yeah I know, I just felt I had to try and help someone since I have gotten so much help here :-) But you are correct people should try and do a quick search first, since questions like this is very easy to find the answer for on google...

  6. #6
    Sencha User
    Join Date
    Feb 2011
    Posts
    1
    Vote Rating
    0
      0  

    Default Found this thread on Google

    Just wanted to give a quick mention after reading the later half of this thread. I did a quick Google search for dialing a number with Sencha and this thread popped up.

    Thanks for the info! It beat having to scroll through 3000 words of a tutorial.

  7. #7
    Sencha Premium Member
    Join Date
    Jan 2011
    Location
    Dundas, Ontario, Canada
    Posts
    84
    Vote Rating
    -4
      -2  

    Default

    Wait, you want a phone to make a phone call? Madness!


  8. #8
    Touch Premium Member
    Join Date
    Jun 2011
    Posts
    1,099
    Vote Rating
    100
      0  

    Default

    I can get it work but it opens the Phone Dialer app on my Android phone with the number instead of dialing it directly. Is it possible to dial the number in the link directly?

    I also tried tel:+phonenumber on the browser of my Android phone and it also opens the phone dialer app. What can I do to change this?

  9. #9
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,318
    Vote Rating
    1291
      0  

    Default

    You cannot make the phone call a number directly. Think if any site could do this, would be horrible!
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  10. #10
    Touch Premium Member
    Join Date
    Jun 2011
    Posts
    1,099
    Vote Rating
    100
      0  

    Default

    thanks for your reply. that's what I thought also.

Similar Threads

  1. Could I create "Call" button that will cause Iphone to make a call?
    By lexer in forum Sencha Touch 1.x: Discussion
    Replies: 2
    Last Post: 12 Nov 2010, 8:11 AM
  2. Make a button make a phone call
    By toe in forum Sencha Touch 1.x: Discussion
    Replies: 8
    Last Post: 3 Sep 2010, 7:32 AM
  3. How to make button launch phone #
    By jdogresorg in forum Sencha Touch 1.x: Discussion
    Replies: 1
    Last Post: 30 Aug 2010, 5:20 PM
  4. Can I make an ajax call to another server?
    By dlbjr in forum Ext 3.x: Help & Discussion
    Replies: 8
    Last Post: 31 Aug 2009, 10:57 AM

Posting Permissions

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