Hello, Can someone help me create a Button in Android Studio that when clicked goes to a specific URL
Here is what is have so far...

package com.nowldating.niteowldatingapp;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;

public class NiteOwlDatingAppActivity extends ActionBarActivity {

private View v;

protected void onCreate(Bundle savedInstanceState) {

public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.menu_nite_owl_dating_app, menu);
return true;

public boolean onOptionsItemSelected(MenuItem item) {
// Handle action bar item clicks here. The action bar will
// automatically handle clicks on the Home/Up button, so long
// as you specify a parent activity in AndroidManifest.xml.
int id = item.getItemId();

//noinspection SimplifiableIfStatement
if (id == R.id.action_settings) {
return true;

return super.onOptionsItemSelected(item);
Button nodButtonHome = (Button) findViewById(R.id.nodButtonHome);

nodButtonHome.setOnClickListener(new OnClickListener(){
public void onClick(View v);{
startActivity(new Intent(NiteOwlDatingAppActivity.this, NiteOwlDatingAppActivity.class));
public void onClick(View v){
this.v = v;
startActivity(new Intent(NiteOwlDatingAppActivity.this, NiteOwlDatingAppActivity.class));

I keep getting these errors:
1.) error: expected
2.) error: illegal start of type
3.) error: ')' expected