Android Question How to use tel:090... link in webview

rboeck

Well-Known Member
Licensed User
Longtime User
Hi,

i am working on an tablet project, where i use an embedded webview, which enables the user to make an fast search for local telephon book providers. Because of limited space i am using the mobile version, which are designed for beeing used from mobile phones.
When i make the webview visible, i transmit name and adress data in that style, which is used internaly by the telephon book provider. When the search is successfull, i get a window with adress and telephon number inside a button, which would allow to call this number by pressing it.
On the tablett without telephony support, i get now the message: website not found; the link is: tel:+436542.....
How can i get this number an "consume" this button?
 

rboeck

Well-Known Member
Licensed User
Longtime User
You can capture that using the "OverrideUrl" event, but you will have to determine if the device has telephony, you can use a code like HasFeature, if it has telephony then proceed otherwise ignore.
Hi NJDude,

In the meantime i am 'harvesting' telephon numbers, email adresses and webadresses from the different url strings!
Thanks for your help!
 
Upvote 0
Top