return false;
}
}
+
+ private void shareFile(){
+ Intent sharingIntent = new Intent(android.content.Intent.ACTION_SEND);
+ // set MimeType
+ sharingIntent.setType(getFile().getMimetype());
+ sharingIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse("file://"+getFile().getStoragePath()));
+ startActivity(Intent.createChooser(sharingIntent, "Share via"));
+ }
+
private void seeDetails() {
((FileFragment.ContainerActivity)getActivity()).showDetails(getFile());
}