Q:

getSupportFragmentManager on AccountAuthenticatorActivity

How can I pass the getSupportFragmentManager() to external library in AccountAuthenticatorActivity?.
I need to put a custom dialog with android-styled-dialogs: https://github.com/inmite/android-styled-dialogs

A:

Take AccountAuthenticatorActivity and put it in your project.
Instead of
AccountAuthenticatorActivity extends Activity put AccountAuthenticatorActivity extends FragmentActivity.
Extend your class with your new AccountAuthenticatorActivity and use getSupportFragmentManager().

