One stupid question... I can't get Eclipse to understand that the line :

String uristr = "rtsp://rtsp.youtube.com/youtube/videos/" + page +
"/video.3gp";

is a valid line ("page" is a String variable that includes the video I want
to play). It says that is invalid...

On Tue, Oct 13, 2009 at 11:26 AM, dadical <keyes...@gmail.com> wrote:

>
> I've done this before.  I blogged about it here:
>
> http://keyeslabs.com/joomla/index.php/blogs/i-think-im-becoming-an-android/51-polish-your-app-free-embeddable-android-youtube-activity
> .
> There is source code in the blog entry.  Enjoy!
>
> Dave
>
> On Oct 13, 7:28 am, furby <wookie...@gmail.com> wrote:
> > Anybody?
> >
> > On Oct 13, 8:09 am, furby <wookie...@gmail.com> wrote:
> >
> >
> >
> > > I am sure that this has been discussed before... But I don't seem to
> > > be really grokking it...
> >
> > > I have a videoview called "tv1" on a form.
> > > I have a bit of code that fires when a button is pressed that looks
> > > like this :
> > >                 String uristr = "rtsp://rtsp.youtube.com/youtube/
> > > videos/S2eoCqwBCQI/video.3gp";
> > >                 tv1.setVideoURI(Uri.parse(uristr));
> > >                 tv1.start();
> >
> > > The emulator tells me that "This video cannot be displayed" and if I
> > > try it on my phone, the app just crashes...
> >
> > > Does anyone know what I am doing wrong here?
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to