Java tutorial
//package com.java2s; //License from project: Open Source License import android.accounts.Account; public class Main { public static final String ACCOUNT_TYPE = "com.idunnolol.sotm"; public static final String ACCOUNT_NAME = "Data Updater"; public static Account getSyncAccount() { return new Account(ACCOUNT_NAME, ACCOUNT_TYPE); } }