14

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.

ale
  • 19,723
  • 34
  • 110
  • 159
Lurkers
  • 141
  • 1
  • 1
  • 3

2 Answers2

10

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

Izzy
  • 91,166
  • 73
  • 343
  • 943
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.

Firelord
  • 25,084
  • 20
  • 124
  • 286
Alok Shankar
  • 236
  • 1
  • 5
  • 2
    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 09:18