createEnrollmentDialog
public static void createEnrollmentDialog(java.lang.String server,
java.lang.String username,
java.lang.String password,
android.content.Context context,
EnrollmentDialog.Callback callback)
Create a prompt to ask the user to enter name, address, and credentials for a connection.
Show the optional server, username, password params if provided
- Parameters:
server
- optional server to display
username
- optional username to display
password
- optional password to display
context
- the context used to display the alert dialog.
callback
- the callback for when the credential dialog is dismissed.