title: Launch a web browser or youtube using textview in android
body: <p>I will have a list of YouTube video titles and I want when the user clicks them it goes to the url. </p>
  
  <p>Example:
   click here for this <a href="http://www.youtube.com/watch?v=jvO6CqtiRmo" rel="nofollow">VIDEO!</a></p>
  
  <p>thanks in advance </p>
  
  <p>code:::
  Java:: </p>
  
  <pre><code>@Override                                                                                    
  protected void onCreate(Bundle savedInstanceState) {
  super.onCreate(savedInstanceState);
  setContentView(R.layout.activity_video);
  }
  
  private void twistUp() {
  TextView twistUp = (TextView) findViewById(R.id.twistUp);
  twistUp.setOnClickListener(new OnClickListener() {
  
  @Override
  Intent videoclk= new Intent(Intent.ACTION_VIEW,
  Uri.parse("https://www.youtube.com/watch?v=jvO6CqtiRmo"));
  startActivity(videoclk);
  }
  });
  
  
  &lt;TextView                                                                                                                         
  android:id="@+id/twistUp"
  android:layout_width="wrap_content"
  android:layout_height="wrap_content"
  android:text="@string/twisted"
  android:autoLink="web"
  android:onClick="twistUp"
  android:textAppearance="?android:attr/textAppearanceMedium" /&gt;
  </code></pre>