well if it's not in your app, if it's just a general webview, then there's no way for you to control it, because it's outside of your app.
kris On Mon, Jul 16, 2012 at 8:36 AM, Bunty syed <itsmeatfo...@gmail.com> wrote: > Tats right ,If i write tat button click i can control it . > But suppose, I have a webview in my app. It opens some url. > In the webview,if for some content long press,if system generates tat > context menu with share via option how to control that..... > > > On 16 July 2012 16:57, Kristopher Micinski <krismicin...@gmail.com> wrote: >> >> I'm not sure you understand... You have to explicitly implement the >> share intent anyway... >> >> >> http://mobile.tutsplus.com/tutorials/android/android-sdk-implement-a-share-intent/ >> >> So it's not going to randomly "pop up" in your app, that's impossible, >> unless you *put* it there! >> >> kris >> >> On Mon, Jul 16, 2012 at 7:23 AM, Bunty syed <itsmeatfo...@gmail.com> >> wrote: >> > Thanks Kris. >> > >> > I will tell the scenario I am working on. >> > >> > Actually my app is driven by server defined policy. >> > >> > The application fetches the policy from the server & then act >> > accordingly. >> > There is one policy for data sharing. >> > If data sharing is allowed then no problem.But if the data sharing is >> > not >> > allowed, application should be able to block the data sharing options >> > like >> > sharing Via item in the system generated context menu. >> > >> > >> > >> > On 16 July 2012 16:22, Kristopher Micinski <krismicin...@gmail.com> >> > wrote: >> >> >> >> Is that a question? If so, the answer is yes, if you don't specify an >> >> intent filter for that routine, then the system won't offer to have >> >> your app pop up. If it is, that probably means that you're putting >> >> too much stuff in your manifest, so you should post it so people can >> >> inspect it. >> >> >> >> As I said before, if you're worried about people actually getting at >> >> the contents of the stuff in your app, then you shouldn't simply count >> >> on this, you should also use some form of encryption .... >> >> >> >> kris >> >> >> >> On Mon, Jul 16, 2012 at 6:17 AM, Bunty syed <itsmeatfo...@gmail.com> >> >> wrote: >> >> > Tat means in the pop up nothing will be shown after clicking share >> >> > via >> >> > item... >> >> > >> >> > >> >> > On 16 July 2012 15:02, Kristopher Micinski <krismicin...@gmail.com> >> >> > wrote: >> >> >> >> >> >> The system will only "share" from your app if you declare it in the >> >> >> manifest. In reality, however, you can't hide the data from the user >> >> >> without >> >> >> encryption... >> >> >> >> >> >> On Jul 16, 2012 5:12 AM, "Bunty syed" <itsmeatfo...@gmail.com> >> >> >> wrote: >> >> >>> >> >> >>> Thanks. I want to do it only for my app. >> >> >>> >> >> >>> But I did not understand what filter r u talking about & will it >> >> >>> affect >> >> >>> the system generated menu... >> >> >>> >> >> >>> On 16 July 2012 13:49, Kristopher Micinski <krismicin...@gmail.com> >> >> >>> wrote: >> >> >>>> >> >> >>>> For your application or anyone's app? For your app, don't >> >> >>>> implement >> >> >>>> the >> >> >>>> filter, for anyone's app, this will be a lot trickier.... >> >> >>>> >> >> >>>> On Jul 16, 2012 4:11 AM, "Bunty syed" <itsmeatfo...@gmail.com> >> >> >>>> wrote: >> >> >>>>> >> >> >>>>> Hi, >> >> >>>>> >> >> >>>>> In android, on long clicking some link or text, System generates >> >> >>>>> a >> >> >>>>> menu >> >> >>>>> with some share via option. >> >> >>>>> On clicking that, it pops up a screen with facebook gmail,etc.. >> >> >>>>> >> >> >>>>> My doubt is that is there any way to remove that option from that >> >> >>>>> menu. >> >> >>>>> >> >> >>>>> or is there any callback call when some intent is launched from >> >> >>>>> the >> >> >>>>> application.. >> >> >>>>> >> >> >>>>> >> >> >>>>> >> >> >>>>> >> >> >>>>> -- >> >> >>>>> 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 >> >> >>>> >> >> >>>> -- >> >> >>>> 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 >> >> >>> >> >> >>> >> >> >>> -- >> >> >>> 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 >> >> >> >> >> >> -- >> >> >> 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 >> >> > >> >> > >> >> > -- >> >> > 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 >> >> >> >> -- >> >> 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 >> > >> > >> > -- >> > 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 >> >> -- >> 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 > > > -- > 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 -- 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