I have a layout with a Button. Upon click of the button, I should be able to get the same functionality of the 'Action bar Share button'(which we can implemented using ShareActionProvider). Tried looking for an example in web ; but could not find one. Is this possible?
Yes, you can achieve the same functionality by firing an implicit intent in response to a Button click. Like the example below:
Main.java
layout_main.java
Hope this helps.