3

The android WebView will automatically detect a mailing address in the html and allow you to click on it to launch a map. Is there anyway to disable this without a native code change? Can I add something to the html markup or cancel a javascript event to prevent this from happening?

If I need to make this change in native code, how is that done?

EDIT: When I say mailing address, I mean a physical street address, like:

123 Main Street Sometown, CA 12345

Jeff
  • 1,538
  • 2
  • 18
  • 33

1 Answers1

3

You might want to try using the following meta tag in the page you're including in the WebView, if that's possible.

<meta name="format-detection" content="address=no" />

Source: http://phpaul.wordpress.com/2011/01/14/writing-a-webpage-for-a-mobile-device/

Chad P
  • 71
  • 2