I want to programmatically clear the history of the android maps (and navigation) application.
I know there is a way to clear the browser history via
Browser.clearSearches(getContentResolver());
and the corresponding permission: com.android.browser.permission.WRITE_HISTORY_BOOKMARKS
and this works fine (2.2.).
I couldn't find any way to clear the Maps-History though. Clearing the google/history online doesn't help either.
There are some apps in the market that promote to do that, so there must be an API for it, but i really couldn't find it yet.
I also messed around a bit with CLEAR_APP_CACHE and CLEAR_APP_USER_DATA but seems like they are signed/root-only permissions and delte too much anyways.