14ad84e85a8c09b016a621f0f0017594e0d7864b |
|
12-Dec-2011 |
Adam Powell <adamp@google.com> |
Add ShareCompat to the support library. ShareCompat provides some extra extensions to the ACTION_SEND/ACTION_SEND_MULTIPLE Intent protocol for sharing content between applications. ShareCompat.IntentBuilder is a helper that can construct sharing intents with the proper metadata for sharing content. ShareCompat.IntentReader is a helper for parsing the data shared by a sharing intent. Either of these helpers may be used in isolation. Extra data will be added to communicate the package and activity info about the app sharing the content, and the receiving app can make use of that data whether it was supplied through startActivityForResult or extra metadata added by ShareCompat.IntentBuilder. ShareCompat.configureMenuItem can set up a MenuItem for sharing depending on what UI capabilities are available on the current platform version. Change-Id: If211591e9c44a4c467b0d7333c54114f6361928b
/frameworks/support/v4/ics/android/support/v4/app/ShareCompatICS.java
|