I've set my smartphone for reading .ino files by ES file explorer. It works, but when I open an email with the standard client and I try a preview of a .ino attached file I obtain the message "Can't open file". I have to save the file, then open.
I've tried and tried, but preview doesn't work with .ino's.
Does anyone know how to do it?
---------------------- Italian original text: ----------------------
Ho cercato in rete giorno fa, ma non ho trovato soluzione. Ho impostato lo smartphone per aprire i file .ino con un editor, almeno per leggerli, però quando con il client di serie provo a fare l'anteprima di un .ino allegato a un'email compare il messaggio "impossibile aprire il file". Se lo salvo e poi lo apro, invece, non ci sono problemi.
Ho fatto parecchie prove cambiando impostazioni, ma non ho trovato il modo.
Qualcuno sa come fare?
I'set my smartphone for reading .ino files by ES file explorer. It works, but when I open an email with the standard client and I try a preview of a .ino attached file I obtain the message "Can't open file". I have to save the file, then open.
My guess (and it is no more than that) is that your email program does not know what to do with a .ino file.
Can it open a file with the exact same content if it is a .txt file?
I think there might also be a requirement for the content-type of the file to have been set by the device sending the email. The extension alone may not be sufficient. For example my browser can open some PDFs and not others.
I've made a test a few minutes ago: I've sent myself two emails with the same file, but the file attached to second email was renamed .txt.
For the .txt renamed file, the smartphone asked for an application. I set ES file explorer and it opened the file. Then I've done the same a second time and it worked without any question.
For the .ino file, the smartphone says "Impossibile visualizzare l'allegato" (=Can't display file). It seems that .ino is an extension known by the email client for other files. The problem is that I can't associate another application to that files. I've done association for the system, but it doesn't work when files have to be opened by the email client... Does the email client have another association table?...