import android.content.DialogInterface;\r
import android.content.Intent;\r
import android.content.SharedPreferences;\r
+import android.net.Uri;\r
import android.os.Bundle;\r
import android.os.Handler;\r
import android.preference.PreferenceManager;\r
}\r
}\r
public void onCancelClick(View view) {\r
+ setResult(RESULT_CANCELED);\r
finish();\r
}\r
\r
}\r
continueConnection(prefix);\r
}\r
+ \r
+ public void onRegisterClick(View view) {\r
+ Intent register = new Intent(Intent.ACTION_VIEW, Uri.parse("https://owncloud.com/mobile/new"));\r
+ setResult(RESULT_CANCELED);\r
+ startActivity(register);\r
+ }\r
\r
private void continueConnection(String prefix) {\r
String url = ((TextView) findViewById(R.id.host_URL)).getText()\r