ShareMenu was a method where i created a sharer using
android.content.Intent.ACTION_SEND
and Intent.createChooser
to allow
the Android Framework populate a menu of share options using
android.intent.action.SEND
.
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 );
Where:
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: [email protected]