intent.setAction(android.content.Intent.ACTION_VIEW); Uri.parse(" http://www.youtube.com/watch?v=VIDEO_ID."); intent.setDataAndType(Uri.fromFile(file), "application/vnd.android.package-archive"); startActivity(intent);
change uri 2012/2/6 Wiktor Gworek <wiktor.gwo...@gmail.com> > Just fire VIEW intent for YouTube url. That is > http://www.youtube.com/watch?v=VIDEO_ID. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en