[android-developers] Okay - I am an idiot but I can't get this to work....
I am tryign to stream youtube videos. Supposedly, the Activity that
can be downloaded from
http://keyeslabs.com/joomla/index.php/blogs/i-think-im-becoming-an-android/51-polish-your-app-free-embeddable-android-youtube-activity
will work for that. It sounds like it's perfect for what I want to do.
So I grabbed the Activity, included it in the project and then call it
by using these lines :
Intent lVideoIntent = new Intent(null, Uri.parse("ytv://"+page),
view.getContext(), IntroVideoActivity.class);
startActivity(lVideoIntent);
("page" is a String that contains a video id that I have verified is a
real id).
Every time my code get's to those lines it crashes the app... I tried
putting it inside a try/catch clause to see the exception it's
throwing and it still crashes the app...
I know I am being stupid here, but can someone tell me what i am doing
wrong?
--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home