Is it me or I can't find any example of how to add/configure Microsoft Exchange programatically?
It seems like
AccountManager ::
addAccount (String accountType, String authTokenType, String[] requiredFeatures, Bundle addAccountOptions, Activity activity, AccountManagerCallback<Bundle> callback, Handler handler)
should do the work. However, I can't figure out how for Microsoft Exchange account. Could you point me to a simple working example code?
Thank you.