Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread Initiating a phone call or sending an SMS from EWB app
Wed, Jul 16 2014 10:16 PMPermanent Link

Jeff Cook

Aspect Systems Ltd

Avatar

Hi

I'm writing a little trial app that shows a list of contacts (from my application).  

I'd like to put a phone button and an SMS button alongside the phone numbers and by pressing a button start a call or text to that number.

I have searched the forums and the docs and can't see a way to do this.

I can't believe no one has asked this before, so I must be using the wrong search criteria - or I mustbe too dumb and everybody else can work it out.

Cheers

Jeff
Thu, Jul 17 2014 4:49 AMPermanent Link

Matthew Jones

Jeff Cook wrote:

> I'm writing a little trial app that shows a list of contacts (from my
> application).
>
> I'd like to put a phone button and an SMS button alongside the phone
> numbers and by pressing a button start a call or text to that number.

Well, the key question is how would you do it in any browser using
HTML? That's all this all ends up as. The first thing I'd try is
creating a TLink with the URL set to "tel:+0013405551234" and see if
that will make a call. That's the simple way.

If you are planning on running this on a device through PhoneGap, then
you probably have other APIs you can call.


--

Matthew Jones
Thu, Jul 17 2014 7:26 PMPermanent Link

Jeff Cook

Aspect Systems Ltd

Avatar

"Matthew Jones" wrote:

> If you are planning on running this on a device through PhoneGap, then
> you probably have other APIs you can call.

I have previously looked at PhoneGap - probably inspired by you posts here - and had filed it away under "Not Sure".  Another look suggests that this is something I'll go with once I've sorted out the basics.

Many Thanks, Matthew

Cheers

Jeff
--

Matthew Jones
Image