But, for example when I want to search a video it launchs my application, too *
On 27 Aralık, 15:08, sjor <sleche...@gmail.com> wrote: > I want to control every Youtube video. I just don't want when I press > "share","search", "hq", the username of the owner of the video etc. my > application is launched. Only when I want to play a video(can be any > video in Youtube) my app should be launched. When i write > android:scheme="http" and android:host="m.youtube.com" to the manifest > file I can control every youtube video to be played with my app. But, > for example when I want to search a video or when I want to it > launchs my application, too. That is the thing that I don't want. > > On 27 Aralık, 14:54, Mark Murphy <mmur...@commonsware.com> wrote: > > > On Mon, Dec 27, 2010 at 7:49 AM, sjor <sleche...@gmail.com> wrote: > > > If I know the mime type i can write android:scheme="http", > > > android:host="m.youtube.com" and android:mimeType="........" then it > > > works. I should find the mime type as i see. > > > No, that will give you the same results as you have today -- you will > > get control for every YouTube video. > > > -- > > 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 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