You can handle errors of MAF logon operations in two ways.
@Override public void onLogonFinished(String error, boolean isUserRegistered, LogonContext context) { Log.i(LOG_TAG, "onLogonFinished:[error]=" + error + " [isUserRegistered]="+ isUserRegistered + " [context]="+context); //makes hides MAFLogonUI when logon finished finish(); }
/** * Application logic with logout button. * * @param logonContext * @throws LogonManagerException */ private void doApplicationLogic() throws LogonCoreException {...}