Add this code from where you want to send email:
File externalStorage = Environment.getExternalStorageDirectory();
Uri uri = Uri.fromFile(new File(externalStorage,”mypdfFile.pdf”)); Toast.makeText(getApplicationContext(),”exists”,Toast.LENGTH_LONG).show(); Intent sendIntent = new Intent(Intent.ACTION_SEND); sendIntent.setType(“application/pdf”); sendIntent.putExtra(Intent.EXTRA_EMAIL, new String[] {to}); sendIntent.putExtra(Intent.EXTRA_SUBJECT,”mail subject”); sendIntent.putExtra(Intent.EXTRA_STREAM,uri); sendIntent.putExtra(Intent.EXTRA_TEXT,”Text in email”); startActivity(Intent.createChooser(sendIntent, “”));