[LIBRARY][GUIDE] DynamicShareActionProvider
Some time ago I had a conversation with @SimplicityApks about Google's ShareActionProvider. We found out that it's not flexible enough as it doesn't allow dynamic generation of the data which should be shared.
So here I release my open-source DynamicShareActionProvider library. Its code can be found on Github.
The differences:
Screenshots:
(The second screenshot is from the app FunctionCapture by @SimplicityApks)
Big thanks to:
This was featured on the XDA portal on December 20, 2013.
Some time ago I had a conversation with @SimplicityApks about Google's ShareActionProvider. We found out that it's not flexible enough as it doesn't allow dynamic generation of the data which should be shared.
So here I release my open-source DynamicShareActionProvider library. Its code can be found on Github.
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)
Big thanks to:
- @SimplicityApks for some ideas
This was featured on the XDA portal on December 20, 2013.
Last edited: