Suppressed logging whole exception. Log message instead
Change visibility of username and password edittext views in add_server.xml.
Added a "Requires Authorization" for PickServerActivity. Added a check for HTTP_UNAUTHORIZED for invalid user/password.
Fixed typo in method name
Added a Server class to store information about VLC Servers found or remembered. Updated PickServerActivity to use the Server class. This gives more flexibility in displaying the server information to the user because the preference title is no longer used to stored server value
Added a check icon to the currently selected server
Added icons to hint at the type of vlc server. normal, requires auth and forbidden
Refactored PickServerActivity to separate the Dialog code from preference code. Now uses a DialogFragment to handle server information. Added "Edit VLC Server" feature to allow editing server information for remembered servers. The ServerInfoDialog handles both cases of adding/editing a server.
Fixed hasUserInfo checking for both username and password instead of checking for existence of either.
ServerInfoDialog will now be shown when a server that requires authorization is picked when it has not got a username or password set.
Fixed hasUserInfo not checking for empty strings
Normalized the authority string when created via a constructor in Server. This stops preferences being duplicated when it compares authorities that should be equal e.g. http://:@name:port and http://name:port
Added a "Test" button to ServerInfoDialog to allow testing the server connection whilst adding/editing a server
Replaced some hardcoded strings with Android String resources