Discussion Forums  >  WebViews and HTML for Mobile

Replies: 7    Views: 250

pmf123
Android Fan
Profile
Posts: 8
Reg: Oct 19, 2011
Lanoka Harbor, ...
80
12/08/13 01:20 PM (10 years ago)

Build in browser not opening tel: links in phone app

My app calls a webpage that contains these type of links: <a href='tel:1235551212'>Dial Me</a> but when they are clicked on, they don't open the dialer... help!
 
xparte
Aspiring developer
Profile
Posts: 50
Reg: May 08, 2012
location unknow...
2,450
like
12/08/13 07:55 PM (10 years ago)
Is the actual link showing on page as a link? Do you have a sample URL we can test?
 
herb200mph
I hate code!
Profile
Posts: 33
Reg: Aug 09, 2012
Salisbury NC
330
like
12/10/13 12:28 PM (10 years ago)
It needs to be "tel.xxxxx" with quotes around it, not ' items.
 
pmf123
Android Fan
Profile
Posts: 8
Reg: Oct 19, 2011
Lanoka Harbor, ...
80
like
12/10/13 01:19 PM (10 years ago)
i've tried most, if not all, of the above. it seems it might be a permission in the app itself, allowing access to the phone app from my app... Gotta do more research
 
xparte
Aspiring developer
Profile
Posts: 50
Reg: May 08, 2012
location unknow...
2,450
like
12/10/13 04:39 PM (10 years ago)
@herb20mpgh "tel:xxxxxxx" is the correct format but it will still dial if he uses the 'tel:xxxxx' link so I don't think that's what's blocking it. @pmf123 test your page out on a browser and see what happens when you click on it to see if it really is your app blocking it.
 
pmf123
Android Fan
Profile
Posts: 8
Reg: Oct 19, 2011
Lanoka Harbor, ...
80
like
12/10/13 05:59 PM (10 years ago)
I just browsed to the URL on my phone and the tel:123456 works, but not when clicked inside buzztouch app. here's the URL: <a href="http://www.australialookup.com/app" target="_blank" rel="nofollow">http://www.australialookup.com/app</a> search for j smith or whatever I'm betting its one of these: http://developer.android.com/reference/android/Manifest.permission.html#CALL_PHONE
 
xparte
Aspiring developer
Profile
Posts: 50
Reg: May 08, 2012
location unknow...
2,450
like
12/10/13 06:09 PM (10 years ago)
Oh not sure about Android but it definitely works on iOS.. https://www.dropbox.com/s/2hoycpx01dkf8z2/2013-12-11%2012.03.24.png Are you calling the page via Custom URL?
 
pmf123
Android Fan
Profile
Posts: 8
Reg: Oct 19, 2011
Lanoka Harbor, ...
80
like
12/10/13 06:33 PM (10 years ago)
yes it is via custom URL I found another thread on here that talks about adding: doNotLoadList.add("tel"); but i am using BT1.4 on this app, and the above is for 1.5
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.