try {\r
String username = ((EditText) findViewById(R.id.newSession_username)).getText().toString().trim();\r
String password = ((EditText) findViewById(R.id.newSession_password)).getText().toString().trim();\r
try {\r
String username = ((EditText) findViewById(R.id.newSession_username)).getText().toString().trim();\r
String password = ((EditText) findViewById(R.id.newSession_password)).getText().toString().trim();\r
Log.e(TAG, "Incorrect URI syntax " + e.getLocalizedMessage());\r
Toast.makeText(this, R.string.new_session_uri_error, Toast.LENGTH_LONG).show();\r
}\r
Log.e(TAG, "Incorrect URI syntax " + e.getLocalizedMessage());\r
Toast.makeText(this, R.string.new_session_uri_error, Toast.LENGTH_LONG).show();\r
}\r