Code example for AccountManager

Methods: setUserData

0
     * @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));
    } 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE