Code example for AccountManager

Methods: setUserData

0
	 *            The account we're syncing 
	 * @param marker 
	 *            The high-water-mark we want to save. 
	 */ 
	private void setServerSyncMarker(Account account, long marker) {
		mAccountManager.setUserData(account, SYNC_MARKER_KEY, Long.toString(marker));
	} 
}