programmatically erase android browser cache, history, etc. with root
<p>I have an android tablet that is locked down (users will only be able to use standard issue android browser), so all the temporary internet stuff should be in the same place.</p>

<p>Assuming I am able to root the device sometime here soon, I would like to be able to wipe out (1) cookies, (2) temp internet files, (3) history, (4) form data, (5) location access info, (6) passwords, and (7) cache.</p>

<p>I think I can knock out most of these by erasing:</p>

<p>/data/data/com.android.browser/cache</p>

<p>The cookies appear to be in a database. I'm not sure if I can just delete it</p>

<p>/data/data/com.android.browser/databases/webview.db</p>

<p>And then I think I can just delete these files to erase location information:</p>

<p>/data/data/com.google.android.location/files/wifi
/data/data/com.google.android.location/files/cell</p>

<p>Will that take care of everything?</p>

<p>What am I leaving out?</p>

<p>Is it safe to just erase that database? Does anyone know?</p>
