title: programmatically erase android browser cache, history, etc. with root
body: <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 <code>root the device</code> 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, (7) cache.</p>
  
  <p>I think I can knock out most of these by erasing:</p>
  
  <pre><code>/data/data/com.android.browser/cache
  </code></pre>
  
  <p>The cookies appear to be in a database. I'm not sure if I can just <code>delete it</code></p>
  
  <pre><code>/data/data/com.android.browser/databases/webview.db
  </code></pre>
  
  <p>And then I think I can just delete these files to <code>erase</code> location information:</p>
  
  <pre><code>/data/data/com.google.android.location/files/wifi
  
  /data/data/com.google.android.location/files/cell
  </code></pre>
  
  <p>Will that take care of everything?</p>
  
  <p>What am I leaving out?</p>
  
  <p>Is it safe to just <code>erase that database</code>? Does anyone know?</p>