BaseballCardTracker / bbct-android

BBCT
GNU General Public License v3.0
7 stars 17 forks source link

Advertise Cards #177

Open codeguru42 opened 10 years ago

codeguru42 commented 10 years ago

Add feature to advertise cards on social media, such as Facebook or Twitter.

codeguru42 commented 10 years ago

Twitter API: http://twitter4j.org/en/index.html

codeguru42 commented 10 years ago

Library for both Facebook and Twitter: https://github.com/3pillarlabs/socialauth-android/

codeguru42 commented 10 years ago

I am looking into implementing this with socialauth-android to implement this feature. It offers the benefit of a central API for all major social media platforms as well as email and MMS text messaging.

Now I am working on some design issues. social-auth offers two ways to share data: a button which provides a drop-down list and a tool bar. I would like some opinions about which of these to use and whether to place them in BaseballCardList or BaseballCardDetails (or both?). Does anyone have some insight of what might provide a better user experience?

codeguru42 commented 10 years ago

ActionMode#setCustomView() can be used to add a Social Auth button to the Contextual Action Bar.

codeguru42 commented 10 years ago

For >API 14, we can use ShareActionProvider.

codeguru42 commented 8 years ago

ShareActionProvider is available in the support library.

codeguru42 commented 8 years ago

Android 6.0 (Marshmallow - API 23) adds Direct Share. Perhaps this is available in the support library as well. I need to do more research.