• Stars
    star
    234
  • Rank 171,630 (Top 4 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created about 11 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Custom implementation of Google's ShareActionProvider which allows sharing of dynamically generated data.

DynamicShareActionProvider

Custom implementation of Google's ShareActionProvider.

The differences:

  • Sharing is done dynamically now!

    This means that your app specifies the type of the shared data first and generates the data when an app is chosen for sharing. No more need to define what to share when the Activity is created. The content can now be set dynamically. πŸ˜„

    There are two types of listeners so that you can also generate the data in an AsyncTask.

  • There is no app icon of the most often used app appearing next to the share icon.

    Other icons often do not match the app theme.

  • The shown app list is not limited to three apps and a "See all" entry first.

    Why should the user not see all apps for that action?

  • You can adjust/must set the icon manually.

    Don't worry. πŸ˜‰

Screenshots:

(The second screenshot is from the app FunctionCapture by SimplicityApks)

Native ActionBar, ActionBarCompat or ActionBarSherlock?

The DynamicShareActionProvider supports all of them. Just use the respective branch:

Tutorial:

I created a tutorial for this library as well. It can be found on XDA.

Big thanks to:

Also check out:

  • Terminal Tutor, an interactive tutorial for learning how to use the terminal