(Adding the sharing function in ActionBar will make the use more efficient and friendly. The ActionProvider class introduced by Android 4.0 (API level 14) makes sharing functions easier. Once the ActionProvider is bound to a menu in the ActionBar, it can manage the display and response of that item. In the instance of ShareActionProvider, only the shared Intent needs to be provided, and the rest will be managed by the ShareActionProvider itself.)