• Home
  • History
  • Annotate
  • only in /frameworks/support/v4/ics/android/support/v4/app/
History log of /frameworks/support/v4/ics/android/support/v4/app/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ac4078687ff889e804b198bf5748e611bbb0fa30 12-Dec-2011 Adam Powell <adamp@google.com> DO NOT MERGE - 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.

Make sure sharing intents constructed with ShareCompat helpers set
Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET.

Change-Id: I74be64d9f70162e5d9ed833551856ddaadc24992
hareCompatICS.java