Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nikwen/DynamicShareActionProvider
Custom implementation of Google's ShareActionProvider which allows sharing of dynamically generated data.
https://github.com/nikwen/DynamicShareActionProvider
android
Last synced: about 2 months ago
JSON representation
Custom implementation of Google's ShareActionProvider which allows sharing of dynamically generated data.
- Host: GitHub
- URL: https://github.com/nikwen/DynamicShareActionProvider
- Owner: nikwen
- License: apache-2.0
- Created: 2013-11-01T22:46:23.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2023-03-23T13:50:38.000Z (over 1 year ago)
- Last Synced: 2024-07-26T07:34:41.969Z (2 months ago)
- Topics: android
- Language: Java
- Homepage:
- Size: 370 KB
- Stars: 234
- Watchers: 24
- Forks: 52
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
DynamicShareActionProvider
==========================Custom implementation of Google's [ShareActionProvider](http://developer.android.com/reference/android/support/v7/widget/ShareActionProvider.html).
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. :smile:
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](http://developer.android.com/images/ui/actionbar-shareaction.png)** 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. :wink:
Screenshots:
------------
(The second screenshot is from the app [FunctionCapture](https://play.google.com/store/apps/details?id=com.simplicityapks.functioncapture) by [SimplicityApks](https://github.com/SimplicityApks))
Native ActionBar, ActionBarCompat or ActionBarSherlock?
--------------------------------------------------------The DynamicShareActionProvider supports all of them. Just use the respective branch:
* [`native`](https://github.com/nikwen/DynamicShareActionProvider/tree/native) for the native ActionBar
* [`master`](https://github.com/nikwen/DynamicShareActionProvider/tree/master) for ActionBarCompat
* [`actionbarsherlock`](https://github.com/nikwen/DynamicShareActionProvider/tree/actionbarsherlock) for ActionBarSherlockTutorial:
---------I created a tutorial for this library as well. It can be found on [XDA](http://forum.xda-developers.com/showthread.php?t=2569919).
Big thanks to:
--------------* [SimplicityApks](https://github.com/SimplicityApks) for some ideas
Also check out:
---------------* [Terminal Tutor](https://www.terminaltutor.com), an interactive tutorial for learning how to use the terminal