9

I have several types of file on my Google Drive and on my SD card (.C, .ASM, .H, .INC, .LOG) which are all just text files. But I just can't view them on my Android phone because it says that there are no programs assigned to that file type. Dropbox would do fine if I could just assign it to open these extensions. So, my questions are:

  1. Is there a way to assign any extension I want to Dropbox?

  2. Is there a text viewer that will let me do that?

I tried so many, but none seem to do it. Only this HEX editor https://play.google.com/store/apps/details?id=tuba.tools seem to do it, but it won't allow me to view as a text file. Only in a split HEX/TEXT screen.

  • Jave you tried 920 Text Editor or DroidEdit? They at least offer syntax highlighting for multiple programmin languages. I just don't know whether they also associate with their repective file extensions/mime types. – Izzy Sep 21 '13 at 17:14
  • WOW the 920 Text Editor is really nice, it opens .ASM as well. Thanks! – Lurkers Sep 21 '13 at 17:41
8

A programming editor might solve your issue. Take a look at e.g. 920 Text Editor or DroidEdit:

920 Text Editor DroidEdit
920 Text Editor and DroidEdit (Source: Google Play; click images for larger variants)

Both support at least syntax highlighting for several programming languages, and from the screenshot at least DroidEdit seems to be able to directly work with Dropbox (see the headline).

  • Is this answer up to date(Sep 12 '17)? or is there something better? – kouty Sep 12 '17 at 5:34
  • @kouty 920 Text Editor can now be found on F-Droid (a more recent version in my repo). Apart from that: I don't use Dropbox, so I cannot really tell. – Izzy Sep 12 '17 at 6:37
2

How about using a third party file explorer, such as ES File Explorer?

It allows you to select a way to open a file. If it finds an unknown extension, it asks you to open the file as text/audio/video.

  • 1
    ES File Explorer has been plagued with ads and privacy issues recently. Could you recommend another application that has this functionality? – MayeulC Jul 19 '17 at 9:18

protected by Community Sep 4 '18 at 22:57

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.