Dialer!!! call function

94 views
Skip to first unread message

Beker

unread,
May 17, 2013, 3:45:49 PM5/17/13
to phon...@googlegroups.com
Okay i've searched all over the web and i cant seem to find a solution!
I need to make a simple function----> function call(num){};
that dials a number when i call it and on the hang up return to the app!
the tel uri IS NOT relevant to this case, i need to make the app call automatically, and as i said, return to the app in the end..
PLEASE HELP!!!
THANKS AHEAD AND SINCERELY YOURS
Nimrod Beker

Kerri Shotts

unread,
May 17, 2013, 5:03:07 PM5/17/13
to phon...@googlegroups.com

There's native code that kicks off the dial process. (Whether or not it behaves as you would like, I can't say, but it's a start). You'll have to interface with it by writing a plugin.


___________________________________
Kerri Shotts
photoKandy Studios, LLC


Social Media:
          Twitter: @photokandy, http://twitter.com/photokandy
          Tumblr: http://photokandy.tumblr.com/
          Github: https://github.com/kerrishotts
                        https://github.com/organizations/photokandyStudios
          CoderWall: https://coderwall.com/kerrishotts

Apps on the Apple Store:

Books:

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to
phonegap+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
 
To compile in the cloud, check out build.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Beker

unread,
May 18, 2013, 9:52:57 AM5/18/13
to phon...@googlegroups.com
Hey thanks for answering ! i know that code and it is what i need!
Intent call = new Intent(Intent.ACTION_DIAL);
call.setData(Uri.parse("tel:" + abcs);startActivity(call);
but is there anyway to call this intent via phonegap?!
when i read my question over again i saw i didnt actually mention that this is a small part of my app that is already in phonegap

Simon MacDonald

unread,
May 19, 2013, 11:36:12 AM5/19/13
to phon...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages