Question

In my titanium app i have a simple contact form which is just a label with some text in it.

In that text there are phone numbers and my question is, is it possible for my app to recognise that as a phone number and when the user clicks on it to ask him if he wants to make a call to that number? ( i can only test for android since i am on a PC)

Was it helpful?

Solution

For making a call Follow this link .

Call using titanium

And for auto detection of a phone number .. Its better if you go for a regular expression to check . once you find a match then call using the link I gave else don't.

Here's some of the reg ex link for Phone numbers

reg Ex 1

reg Ex 2

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top