AC ShareMenu: Sharing content in Android using ACTION_SEND Intent
ShareMenu was a method where i created a sharer using
Intent.createChooser to allow
the Android Framework populate a menu of share options using
Now, ShareMenu has evolved as a component you can download and use :).
You need to add the
ShareMenu.jar library to your project, and then you can call the next line of code:
ShareMenu.buildShareMenu( context, title , text );
context is the context of your application.
title is a string of the title of your menu.
text is the main text you want to share via Facebook/Twitter/others.
Version 0.1, which helps you build Share Via to pass only a text, soon i'll implement send a binary like a video/image. pull requests are well received!
Feel free to clone this project and run in your IDE to see how can be implemented :).
You can contact me via StackOverflow, using the message system from Github or with my email: firstname.lastname@example.org