I see. It seems rather peculiar to me that such a powerful platform
with so much accent on freedom and sharing between applications lacks
this particular, very useful, feature. dadical, thank you very much
for your Activity, I will surely use it as an example for writing my
own (I'm new to both Android and Java, so I try to gain experience
wherever I can).

On Sep 19, 8:10 pm, dadical <[email protected]> wrote:
> Yes you are correct about the activity stack, with the following
> caveats.  The activity that you call may not be designed perfectly for
> your use case.  For example, YouTube is all about viral promotion of
> videos, and if you don't want your user wandering off, or perhaps want
> the activity to return as soon as the video is done playing, well
> you're out of luck unless the YouTube activity supports those use
> cases.
>
> I like the idea of a generic Intent monitor.  Might slap that
> together.  It won't help with figuring undocumented data options
> though.
>
> On Sep 19, 6:28 am, Felix Oghina <[email protected]> wrote:
>
> > Thanks, your Activity is great and I might just use it (I have to
> > speak with a "manager" - the reason why I used quotes is because he's
> > actually my brother :P). Still, I think an application would be more
> > 'polished' if it was able to launch the standard YouTube application
> > (I'm all for standardization). In your blog post you mention one of
> > the reasons for using this custom Activity as not losing the user to a
> > foreign Activity. That shouldn't be a problem with Android (as opposed
> > to the iPhone), thanks to the Activity stack (correct me if I'm wrong,
> > I'm still a newbie with Android).
>
> > I have a proposal for this. If we somehow knew the Intents that the
> > YouTube application puts out (maybe Google should publish them? or if
> > someone has an Android-powered device, maybe he/she can somehow
> > inspect it?), we could make a simple yet incredibly useful application
> > that responds to those same intents, but doesn't actually do anything
> > -- just display something like "If I were the YouTube app, I'd play
> > the video with ID asd876gs".
>
> > I have another question: on an actual device (I don't have one), if
> > you open a YouTube video page in the browser, does the YouTube app
> > automatically launch and play that video?
>
> > On Sep 19, 4:36 am, dadical <[email protected]> wrote:
>
> > > If you just want to be able to play YouTube videos, you're welcome to
> > > use my free Activity that I wrote.  Just drop the source in your
> > > project and change the package and you should be pretty close to ready
> > > to play YouTube videos.  It's barebones, but it takes care of all of
> > > the hard stuff with respect to YouTube, and you have the source so you
> > > can do whatever you want with it.  Find it here:
>
> > >http://keyeslabs.com/joomla/index.php/blogs/i-think-im-becoming-an-an...
>
> > > Hope that helps!
>
> > > On Sep 18, 7:39 pm, Felix Oghina <[email protected]> wrote:
>
> > > > How can I get the YouTube application in the emulator? I want to
> > > > create an application that launches YouTube clips and I need to test
> > > > my Intents. I can't find anything related to this in the docs.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to