Skip to content

peutetre/PhoneGap-PhoneDialer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Enables PhoneGap apps on the iPhone and Android platforms to dial a phone number without requireing additional user interaction (such as the 'Call / Cancel' popup that ordinarilly would occur when using window.location.href = "tel:2125551212".

Usage

Error return by the plugin : ["feature","empty"]

phonedialer.dial(
  "2125551212", 
  function(err) {
    if (err == "empty") alert("Unknown phone number");
    else alert("Dialer Error:" + err);    
  },
  function(success) { alert('Dialing succeeded'); }
 );

Installation

phonegap local plugin add "current repo"

About

A plugin for ios phone gap to launch the dialer programatically in ios >= 5

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 52.5%
  • Java 27.4%
  • JavaScript 20.1%