Popular Python recipes tagged "android"http://code.activestate.com/recipes/langs/python/tags/android/2013-03-22T11:45:11-07:00ActiveState Code RecipesAndroid Gmail: export messages from SQLite database blobs (Python)
2013-03-22T11:45:11-07:00ccpizzahttp://code.activestate.com/recipes/users/4170754/http://code.activestate.com/recipes/578106-android-gmail-export-messages-from-sqlite-database/
<p style="color: grey">
Python
recipe 578106
by <a href="/recipes/users/4170754/">ccpizza</a>
(<a href="/recipes/tags/android/">android</a>, <a href="/recipes/tags/sqlite/">sqlite</a>).
Revision 5.
</p>
<p>This script will extract email message bodies from the SQLite database stored in an android phone.</p>
<p>The gmail database is typically located on your phone under the following location:</p>
<pre class="prettyprint"><code>`\data\data\com.google.android.gm\databases\mailstore.YOURUSERNAME@gmail.com.db`
</code></pre>
<p>To use the script, copy the file above from your phone to your machine and rename it to <code>gmail.db</code>.</p>
<p><em>NOTE:</em> You need a rooted phone in order to get access to the folder above.</p>