is it possible to use shareActionProvider for Apps using API less than 14?
Asked
Active
Viewed 3,115 times
3 Answers
12
It is now possible to do this using the v7 support library.
http://developer.android.com/reference/android/support/v7/widget/ShareActionProvider.html

Kyle Falconer
- 8,302
- 6
- 48
- 68
2
No you can't use it on pre ICS SDK maybe using v4 support library, see this topic Cross version ShareActionProvider support You can use ActionBarSherlock to support older versions, see this example ShareActionProviders.java

e3matheus
- 2,112
- 1
- 20
- 28

Ahmad Kayyali
- 8,233
- 13
- 49
- 83
2
In case someone faces frustration in finding what libary to import (not very clear reading off the documentation):
import android.support.v7.widget.ShareActionProvider;
One thing that I guess, gives you a clue is the URL of the docs you are looking at, which I believe corresponds to the API structure:
For myself, this has so far worked for the compatibility-library-related docs.

tinonetic
- 7,751
- 11
- 54
- 79