Dial a number on Android and iOS

12 posts, 0 answers
  1. Mike
    Mike avatar
    17 posts
    Member since:
    Jan 2014

    Posted 23 Oct 2014 Link to this post

    OK, I have searched high and low for how to do this but have not come up with a solution yet..

    We are creating a simple dialer app.   When the user launches the application, we want the application to then dial a phone number and start the call automatically.  I have seen plenty of posts on how to use links to launch the dialer, but I have seen little on actually dialing the number.  We do not want the user to have to hit 'dial'.  (Maybe this isn't allowed due to security concerns?)

    I have seen older plugins that are not plugman compatibile around but I could not get them to work, even after following the instructions here: http://docs.telerik.com/platform/appbuilder/creating-your-project/using-plugins/using-custom-plugins/making-plugman-compatible/create-modify-plugin-xml

    Any help would be greatly appreciated!
  2. Pedro
    Pedro avatar
    2 posts
    Member since:
    Oct 2014

    Posted 23 Oct 2014 Link to this post

    I know the script but he is not free.
  3. Mike
    Mike avatar
    17 posts
    Member since:
    Jan 2014

    Posted 23 Oct 2014 in reply to Pedro Link to this post

    No thanks Pedro.
  4. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 28 Oct 2014 Link to this post

    Hi Mike,

    Have you tried the CordovaCallNumberPlugin. I tried it on my side and I was able to initiate a call on Android and iPhone devices. I attached the sample I used to test its behavior on our side. Have a look at it and let me know if I can further assist you.

    Regards,
    Tina Stancheva
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
  5. Mike
    Mike avatar
    17 posts
    Member since:
    Jan 2014

    Posted 28 Oct 2014 in reply to Tina Stancheva Link to this post

    That plugin doesn't work in iOS 8.x.  It still asks you to "call" or "cancel".  It does not dial automatically.  I ended up using 2 plugins.  One for android and this one for iOS: http://plugreg.com/plugin/gaetansenn/PhoneGap-ios-PhoneDialer
  6. Mozart
    Mozart avatar
    1 posts
    Member since:
    May 2015

    Posted 06 May 2015 in reply to Pedro Link to this post

    whats you price cause this is what I am trying to achieve

    Here are the codes for each tab

    Bligh *500#
    Balance *120#
    Bundles *123#
    Data Bundles *3282#
    Credit Me *130*Person Number*Amount #
    Send Money *131*Person Number*Amount #
    Top Up *135*Voucher Number#
    Call Me Request *111*Person#

    Let me know if thats possible

     

  7. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 11 May 2015 Link to this post

    Hi Mozart,

    I am not sure I understand your request. Can you please elaborate on your scenario? If you are using AppBuilder to implement a hybrid app, please let us know the challenges you are facing and we can suggest how to overcome them.

    Regards,
    Tina Stancheva
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
  8. jaweria
    jaweria avatar
    3 posts
    Member since:
    Mar 2016

    Posted 28 Mar in reply to Tina Stancheva Link to this post

    Hi Tina,

    I want to dial a number directly from my own ionic app so i used the project which you have upload it with the name "CallNumberPluginSample " but i am not able to use it for ionic framework.. is it possible for me to used it for ionic ?

  9. jaweria
    jaweria avatar
    3 posts
    Member since:
    Mar 2016

    Posted 28 Mar in reply to Tina Stancheva Link to this post

    i want an ionic app with the feature ." Direct call to a number rather than the button click throw me into the native dialer app and i hit on button to make a call.. 
  10. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 01 Apr Link to this post

    Hello Jaweria,

    I am not sure how you tried to test the CordovaCallNumberPlugin. The application I attached works as expected when built with the Telerik Platform cloud services.

    Since you're using Ionic, you can refer to this SOF thread where dialing a phone number directly is described. As far as I understand, once you install the plugin, you should be able to use its API as I demonstrated in the attached app. If you're experiencing issues installing the plugin, I would recommend that you approach the Ionic community for help.

    Regards,
    Tina Stancheva
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
  11. ابتكار
    ابتكار avatar
    2 posts
    Member since:
    Jun 2015

    Posted 03 Jun Link to this post

    want to dial a number directly from my own ionic app so i used the project which you have upload it with the name "CallNumberPluginSample " but i am not able to use it for ionic framework.. is it possible for me to used it for ionic ?
  12. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 08 Jun Link to this post

    Hi,

    I am not sure why the approach demonstrated by the app doesn't work with ionic. I would recommend contacting their support channels for help. If you find an issue with the app running through Telerik Platform, please let me know the steps that lead to it so I can further investigate.

    Regards,
    Tina Stancheva
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
Back to Top