Java tutorial
//package com.java2s; // Released under the Apache License, Version 2.0 import android.webkit.GeolocationPermissions; public class Main { /** * Clear Stored Location permissions. When the geolocation API is used in * the WebViewer, the end user is prompted on a per URL basis for whether * or not permission should be granted to access their location. This * function clears this information for all locations. * * As the permissions interface is not available on phones older then * Eclair, this function is a no-op on older phones. */ public static void clearWebViewGeoLoc() { GeolocationPermissions permissions = GeolocationPermissions.getInstance(); permissions.clearAll(); } }