This object is in archive! 

Locus Pro stuck as default app for PDFs

Eric Schaefer shared this problem 8 years ago
Solved

I realize this sounds like an Android problem, not a Locus problem, but I feel like I've tried everything on the Android end, so I thought I'd try here:

Whenever I try to open a PDF, my phone tries to do it with Locus Pro. I've already gone to setup> apps>locus and was going to clear defaults, but it says there are no launch defaults set for locus pro. I also tried resetting ALL app preferences, but that also made no difference. I'm able to see and adjust default app settings for all other apps normally, which makes me think my problem is specific to Locus Pro.

Has anyone else had similar problems? Any idea what might be going on here?

Thanks in advance for any insights!

Replies (3)

photo
1

Hello Eric,


opening files on Android is quite complicated task and in this case, it may be a problem of Locus. Anyway to fully understand:


- you have an PDF file (on card or link on some www page?)

- you have in your device PDF browser? Any app specialized to opening PDF ...

- Locus is opening this file automatically without ask "which app should open it"

- if so, how are you opening this file?


Give me please as much information as possible, so I may simulate exactly same issue on my device. Thank you!

photo
1

The files are always files online that I click to download through my browser. They download fine, and then I get a notification for the completed download. When I click that notification to open the file, it opens Locus Pro instead of a PDF viewer.

Yes, I have several working PDF viewers on my phone, Think Free and Google Drive being the two I usually use.

It automatically tries to open Locus Pro, without prompting me to ask which app I'd like to use.

The process starts when I click on the download notification to open the file, or when I later navigate to my downloads folder and click the file from there.

It only happens when the suffix is .PDF but not when it's .pdf. Lower case pdf always prompts me to choose my viewer.

I did discover something interesting while checking my facts for this reply... downloading a file while browsing in Chrome triggered the problem, but downloading the exact same file from the same source while browsing in Firefox worked perfectly. So maybe Chrome is part is the problem (or even all of the problem.) But how would Chrome ever think to send a PDF file to Locus Pro?!?!

photo
1

Hmm interesting.


Small explanation how it works. It is not a Chrome, which open Locus. It works, that one application for example download any file and now wants some other app to open it. So it create a object called "intent", that has some parameters, like what type of file is it, what should do with this file and some other. And this "intent" is send to Android system. And based on installed applications, Android decide what to do next.


So, if application create this "intent" incorrectly, result may be see on your side.


I see here two problems.


1. Locus support quite a lot of various file types and unfortunately system for registering applications for reading certain files, is not clever in Android. Result is, that Locus is also registered for reading of basic binary (undefined) files. I was not able to find out a working solution for this yet.


2. Chrome is probably not able to recognize PDF extension and consider this file to be a simple binary file.


Result of these two issues is Locus, which tries to open simple PDF file.


Solution?


1. as I wrote, I was not able to find out a working solution how to remove Locus from receiving binary files. Anyway fact that your Android do not offer other browsers means, that when you remove Locus, there will be no app capable of opening request from Chrome!


2. report issue on some Chrome web site. Hard to say if something like this even exists :).


Well and

3. don't use Chrome or open downloaded PDF files from any local file browser.

photo
1

It looks like I can get them to open properly if I browse to them directly with the file manager instead of with the downloaded files app, and also if I go to them through Firefox. This is very bizarre, but I feel pretty confident now that it's Android issues and not anything with Locus Pro. Thank you for helping me work this out.

On an unrelated note, just wanted to say how much I love the Locus Pro app. It's everything I ever wanted in an outdoor GPS app. I had tried and been disappointed by many, many others before finding Locus, and I just love Locus. Thanks!

photo
1

Twice - You are welcome :).


PS: more issue of "Chrome" then Android, so any of future updates may fix it. Really only looks like a problem, that it do not correctly recognize upper-cased extension of PDF.

Replies have been locked on this page!