Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

How to make phonecall without dialer user interface on Android

I would like to make a phone call directly when I press a button without first displaying the dialer, like I get if I use Ti.Platform.openURL('tel:12421342').

Is there a way to do this in Titanium?

— asked November 8th 2010 by Uno Engborg
  • android
  • call
  • phone
0 Comments

1 Answer

  • Try this:

    var intent = Ti.Android.createIntent({
        action: Ti.Android.ACTION_CALL,
        data: 'tel:12421342'
    });
    Ti.Android.currentActivity.startActivity(intent);
    
    — answered October 5th 2011 by David Bankier
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.