On Sat, Oct 30, 2010 at 2:03 AM, Prajakta Shitole <prajakt...@gmail.com> wrote:
> Please can anyone let me know how to disable Facebook from being listed in
> the list of to "Share" items.

Uninstall the application.

> As Facebook allows only Urls to be posted I
> have used the Facebook SDK when I need to share a link, picture and message.
> So I am currently displaying an Alert Dialog with Facebook listed and the
> second option as Others where I would like to enlist the other items like
> Gmail/ Y!Mail and twitter etc to share data. I dont want Facebook to appear
> in this list. So please can anyone let me know how to show all applications
> except Facebook in the list or any other work around.

Use PackageManager and queryIntentActivities() to generate your list,
then attempt to filter out Facebook.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android 2.2 Programming Books: http://commonsware.com/books

-- 
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

Reply via email to