Answer to myself:

After a little research, I have found that it is a matter of WebView.
So you need to get the load URL event, and send the URL to the dialer
activity in your phone... That is an Android issue, nothing related
with GWT. It is related with this link:
http://developer.android.com/guide/webapps/webview.html#HandlingNavigation

And the Android's code would look to something like this:

myWebView.setWebViewClient(new WebViewClient(){
                @Override
                public boolean shouldOverrideUrlLoading(WebView w, String u) {
                        if(u.startsWith("tel:") || u.startsWith("mailto:";)) {
                                System.out.println(u);
                                Intent intent = new Intent(Intent.ACTION_VIEW, 
Uri.parse(u));
                                startActivity(intent);
                                return true;
                        }
                        return false;
                }
        });

Thank you very much and best regards,

2011/2/16 jsmanrique <[email protected]>:
> I have added and Anchor to my app, that points to a href="tel:XXXXX"
> link. When I test it on my laptop browsers, it shows correctly the
> expected markup and if clicked it asks me for opening and external
> app.
>
> But on my Android phone, it shows a "Web page not available" site,
> instead of showing the phone dialer with the href number on it.
>
> Any idea about why is that happening?
>
> More info about tel: links: http://www.faqs.org/rfcs/rfc3966.html
>
> Thank you very much and best regards!
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>



-- 
J. Manrique López de la Fuente
http://www.jsmanrique.es

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to