Where is search engine history stored for search engines?

I define one of my actions as searchable:

// manifest.xml <meta-data android:name="android.app.default_searchable" android:value=".MyActivity" /> 

When the user clicks on the search hardkey, the OS shows an edit box in which the user can enter a query, and I get a callback with any text entered by the user and performing my search.

The next time I press the search key, it looks like the OS saved my previous query by building a list of all my previous search terms. Where does the OS store this search query history? I wonder if it is in a safe place, because the story may be sensitive to privacy,

---------- update -------------------

To be more specific, this is the process by which I add sentences:

 SearchRecentSuggestions suggestions = new SearchRecentSuggestions( context, "com.me.myprovider", DATABASE_MODE_QUERIES); suggestions.saveRecentQuery("the query", null); 

http://developer.android.com/guide/topics/search/adding-recent-query-suggestions.html

thanks

+2
android
source share
1 answer

Ok, it is stored here:

 data/data/app.package.name/databases/databasename.db 
+1
source share

All Articles