28 May

Android – Streaming Youtube

@Override
public void onCreate(Bundle savedInstanceState) { 
    super.onCreate(savedInstanceState); setContentView(R.layout.main); 
    startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.youtube.com/watch?v=...")));
}

public void onPrepared(MediaPlayer mp) { 
    // TODO Auto-generated method stub
}

Leave a Reply

Your email address will not be published. Required fields are marked *