> android > provider > BrowserContract > Searches > DATE
android APIs provider APIs BrowserContract APIs Searches APIs DATE APIs

Example 1
public static final void addSearchUrl(ContentResolver cr, String search) {
        // The content provider will take care of updating existing searches instead of duplicating
        ContentValues values = new ContentValues();
        values.put(Searches.SEARCH, search);
        values.put(Searches.DATE, System.currentTimeMillis());
        cr.insert(Searches.CONTENT_URI, values);