Salut,
C'est quoi l'utilité de cette fonction updateVisitedHistory(ContentResolver cr, String url, boolean real)?
Salut,
C'est quoi l'utilité de cette fonction updateVisitedHistory(ContentResolver cr, String url, boolean real)?
http://developer.android.com/referen...,%20boolean%29
En gros ça à l'air de permettre de pouvoir rajouter une entrée dans l'historique du navigateur internet.
Bonjour,
http://hi-android.info/doc/android/p...,%20boolean%29updateVisitedHistory
public static final void updateVisitedHistory(ContentResolver cr,
java.lang.String url,
boolean real)
Update the visited history to acknowledge that a site has been visited. Requires android.Manifest.permission#READ_HISTORY_BOOKMARKS Requires android.Manifest.permission#WRITE_HISTORY_BOOKMARKS
Parameters:
cr - The ContentResolver used to access the database.
url - The site being visited.
real - If true, this is an actual visit, and should add to the number of visits. If false, the user entered it manually.
Partager