Identify phone number on web page

by Anndy » Wed, 09 Mar 2011 20:22:44 GMT


Sponsored Links
 Hi All,

I have a html page which i am going to open in a WebView. Is there a
way I can identify a phone number on the page and when click on it,
calls the number.

Regards,
Anndy

-- 



Re: Identify phone number on web page

by drasticp » Thu, 10 Mar 2011 01:05:49 GMT


 Take a look at the Linkify class. It may be quite useful. You would
need to use it to add markup to the html before the webview renders
it.

 http://developer.android.com/reference/android/text/util/Linkify.html 




-- 


Sponsored Links


Other Threads

1. Help: RemoteViewsFactory: what is the difference between its constructor and its "onCreate()" callback?

As part of figuring out the new widget support in honeycomb, I am at a
loss to understand the difference between

the constructor of a RemoteViewsFactory and its callback method "onCreate()".

won't they always be called one after the other?

The fact that "oncreate()" exists, suggests that it is possible to
have "onCreate()" called multiple times for the same
RemoteViewsFactory.

why can't I do what I need to do in "oncreate()" in the constructor itself?

I am missing something.

Any help is much appreciated.

I looked at the stack widget example and also teh weather widget
example. this aspect is not clear.

Thanks
Satya

-- 

2. Touchscreen milestone

Kenapa kalo miley sedang dicharger, touchscreennya jadi ngaco..
Ada yg pernah ngalamin ga ?
Sent from my BlackBerry
powered by Sinyal Kuat INDOSAT

-- 
===============

3. VOOT: paging bis fransicus aka buncis

4. Pre-Installed Apps

5. Android Market - Restricting app to certain devices

6. Notepad Sample App and Screen Rotation

7. Hi, all. How to read JSON format from server?