I\'m trying to send a PDF file that is located in a folder on the device. The file is selected and sent, but it is empty. Where I\'m wrong?
String inviare = n_fr
Make sure you've enabled the android.permission.WRITE_EXTERNAL_STORAGE or android.permission.READ_EXTERNAL_STORAGE permission in your manifest
Check that the uri resolves to an actual file, and try logging the file content (Log.d) in that block of code, to ensure the file contents are actually readable.