private void forwardMediaFile(String mimeType,Uri mediaUri){
  String resharePath="vfs:/" + mediaUri.getPath();
  Intent shareIntent=new Intent(context,ImUrlActivity.class);
  shareIntent.setAction(Intent.ACTION_SEND);
  shareIntent.setDataAndType(Uri.parse(resharePath),mimeType);
  context.startActivity(shareIntent);
}

private void forwardMediaFile ( String mimeType , Uri mediaUri ) { String resharePath = "vfs:/" + mediaUri . getPath ( ) ; Intent shareIntent = new Intent ( context , ImUrlActivity . class ) ; shareIntent . setAction ( Intent . ACTION_SEND ) ; shareIntent . setDataAndType ( Uri . parse ( resharePath ) , mimeType ) ; context . startActivity ( shareIntent ) ; }
protected void onlongclickmediaicon ( final string mimetype , final uri mediauri ) { final java . io . file exportpath = securemediastore . exportpath ( mimetype , mediauri ) ; new alertdialog . builder ( context ) . settitle ( context . getstring ( r . string . export_media ) ) . setmessage ( context . getstring ( r . string . export_media_file_to , exportpath . getabsolutepath ( ) ) ) . setneutralbutton ( " share on zom " , new dialoginterface . onclicklistener ( ) {
