1) How we can check which app was selected by an android sharing intent?And how can we know the image shared successfully or not? Is there a way to confirm if a Share intent in
How we can check which app was selected by an android sharing intent?
On Android 5.1 and higher, you can find out the chosen activity by using the three-parameter version of createChooser(). Otherwise, you cannot determine this, unless you create your own chooser.
And how can we know the image shared successfully or not?
You can't. There is no universal definition of "successfully", and what happens with the shared content is up to the user and the app that the user chose, not you.
In case of default Android intent sharing we can not get the acknowledgement whether the item is shared or not, the Intent sharing dialog is managed by Android OS itself and sharing in particular app is managed by that app so it is not in our app's control.
If we are sharing images from our application then we can defiantly get the count of selected images to share.