I have ImageView and I want to share its image.
Following is my code,
btshare.setOnClickListener(new OnClickListener() {
@Override
try creating the cache to store this image first and then share it because you can only share images which are public to other applications also.You cannot share the content which are private to you application.
use Context.getExternalCacheDir() to create cache and then share the content of this cache