if(Intent.ACTION_SEND.equals(action) && type!= null) {
if(type.contains("image/")) {
Uri uri = getIntent().getParcelableExtra(Intent.EXTRA_STREAM);
handleImageData(uri);
}
}
Actually i need to upload this image to server and i am not able to convert it into file. If you can give a complete code it will be helpful. Thanks.