Thank you. So, Is there any other possible way to launch my application when I open a video on Youtube?
On 27 Aralık, 13:39, Mark Murphy <[email protected]> wrote: > That is not possible. The path in both cases are identical. The ? and > stuff to the right is not part of the path. > > > > On Mon, Dec 27, 2010 at 4:55 AM, sjor <[email protected]> wrote: > > Hi. I want to launch my own media player application when I want to > > watch a video from Youtube. When I write android:scheme="http" and > > android:host="m.youtube.com" it is OK. But, it asks everywhere in > > m.youtube.com to open my app. So, it gets annoying. I tried to use > > pathPattern, pathPrefix and path to solve this but I didn't get ahead. > > All I want is clearly this: > > > * > > > When the link is like "http://m.youtube.com/index?desktop_uri=%2F > > %gl=US#" the intent filter shouldn't launch my app. > > * > > > When the link is like "http://m.youtube.com/index?desktop_uri= > > %2F&gl=US#/watch?xl=xl_blazer&v=k3Cdqx1qFX8" my application should be > > launched. > > > Is there anyone that can help me? > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > Warescription: Three Android Books, Plus Updates, One Low Price! -- 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

