Android email .ino preview

Hi all

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?

Thanks.
Gianluca

---------------------- 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?

Grazie!
Gianluca

Datman:
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.

...R

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?...

Datman:
Does the email client have another association table?...

That does not seem to be a question for the Arduino Forum.

...R

You're right, but knowing how to solve it would be also useful for other people...

Datman:
You're right, but knowing how to solve it would be also useful for other people...

Certainly.

When you figure it out, please post the solution here.

...R

You can try using Blynk. You can send email notifications with a single line of code:

Other links that can be helpful:
http://blynk.cc
www.blynk.cc/getting-started

blynk:
You can try using Blynk. You can send email notifications with a single line of code:
Documentation for Blynk, the most popular IoT platform for businesses.

I don't think that has anything to do with the OP's question. I think he just wants to be able to view stuff that his existing email program has received.

...R

That's right. It's only a problem of association. It seems that .ino files are associated by default with something and I can't modify it.