Friday 18 February 2011

Start the youtube player in a simple way

Don't spend time on reinventing the wheel. If your app needs to play a youtube video, just start the youtube player like this:

startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.youtube.com/watch?v=cxLG2wtE7TM")));

20 comments:

  1. good to know! thank you (: you an programmer?

    ReplyDelete
  2. Great info on this blog! much appreciated!

    http://thelpblog.blogspot.com/

    ReplyDelete
  3. Great blog. You have some useful stuff here.

    ReplyDelete
  4. ahhhhhhhh.
    much much much easier. :)

    ReplyDelete
  5. awesome. thanks! following

    ReplyDelete
  6. great blog, thanks for information

    ReplyDelete
  7. Thaaaanks for this info man

    ReplyDelete
  8. i think u underestimate my sneakyness

    ReplyDelete
  9. good to know thanks

    ReplyDelete
  10. very interesting and good to know

    ReplyDelete
  11. Nice work! followed!
    alphabetalife.blogspot.com

    ReplyDelete
  12. wow thanks for the tip. going 2 fllow you for more useful stuff

    ReplyDelete
  13. Would be handy, if I actually had an Android. i_i

    ReplyDelete