meganz / android

MEGA Android App
Other
1.51k stars 364 forks source link

Can't open PDFs in external viewer #56

Open glocalglocal opened 5 years ago

glocalglocal commented 5 years ago

Mega's internal viewer is used to open PDFs but then I can't find a way to get an external viewer/editor like Xodo to take over. Not even sharing is allowed.

I suppose I can download the PDF to local storage and then use Xodo or similar to open it from there, but that's not good enough. Dropbox etc allow this -- they even allow Xodo to sync files back to the cloud, but I suppose that's down to Xodo's designers.

gheoan commented 5 years ago

This looks like it has been resolved. I can press the 3 dots next to a PDF and then press open with to open with an external reader.

glocalglocal commented 5 years ago

My phone has 3.5.1 and indeed there is now an 'Open with' option for PDF, JPG and PNG files but not for DOCX or TXT. The only external readers listed for PDF are the MEGA reader and Google Drive. I have more than these and my default reader is not one of them. Also, using 'Open with' for JPG and PNG files simply opens them in MEGA -- no options there.

On my tablet I have 3.4.0 which won't update for some reason and has no 'Open with' option at all.

obratim commented 3 years ago

I have a problem, that if a file has a single dot in it's name (like "file1.pdf"), than I can choose among all of my pdf readers. But if file contains multiple dots (like "Cool.Author.File.2.pdf" - than list of applications is mutch shorter. Only MEGA pdf reader, Adobe reader, Google drive pdf reader and some "write to pdf" application. File managers don't have this problem.

My versionis is 3.8.0 (329), android 10

glocalglocal commented 3 years ago

The app should allow users to 'Open' with the default app and 'Open with' other apps any known file type, but it doesn't. I have to download even plain text files and then locate them in storage with a suitable app or locate them first with the file manager.

v3.8.1 (339)

javiergm1983 commented 3 years ago

Hi @glocalglocal and thanks for your feedback. We are working on allow that for text files and some office format files.

javiergm1983 commented 3 years ago

I have a problem, that if a file has a single dot in it's name (like "file1.pdf"), than I can choose among all of my pdf readers. But if file contains multiple dots (like "Cool.Author.File.2.pdf" - than list of applications is mutch shorter. Only MEGA pdf reader, Adobe reader, Google drive pdf reader and some "write to pdf" application. File managers don't have this problem.

Thanks for your feedback @obratim. Take into account that MEGA is not a file explorer, is a Cloud service... and as advice take into account that is not a good practice use dot character as word separator, because a dot is mainly used to determine the file extension.

Anyway we will try to take a look to how we could improve/fix that.