Code Monkey home page Code Monkey logo

Comments (8)

SpiritQuaddicted avatar SpiritQuaddicted commented on August 15, 2024

Are you sure that you did not just make DV the default pdf reader and let your browser open pdfs instead of downloading them? I cannot confirm the behaviour.

from document-viewer.

ildar avatar ildar commented on August 15, 2024

Hmm. Could you please?

  1. Open chrome.
  2. Enter search string "pdf flyer"
  3. Tap on any [pdf] marked result.

I see the document-viewer popping up. What do you see?

from document-viewer.

SpiritQuaddicted avatar SpiritQuaddicted commented on August 15, 2024

I get a popup with all my PDF-able apps that let's me choose to "open just once" with the selected app or "always open with it". Android 4.something. No idea if it is a special feature of my ROM though, doesn't look like it.

No idea how Android handles file associations, could you try https://android.stackexchange.com/questions/14231/how-can-i-get-a-overview-and-manage-the-default-applications-for-file-types ?

from document-viewer.

ildar avatar ildar commented on August 15, 2024

Surely this is the intent handler problem.
I just tested on 2.3 gingerbread. 1st I have cleared the default http
handler (default browser). Clicking a search result gave me:
. two times option with browsers and
. one time - the option with the default browser and the Document Viewer.
This last time, I think, is missing on my AOSP 4.2.2, i.e. the jb doesn't
have the handler for this case. I just can guess that it is the handler for
mime/x-pdf (which is wrong) or for http://...pdf
Anyway you can check with android-x86 in a virtual machine or with the
emulator.

from document-viewer.

dschuermann avatar dschuermann commented on August 15, 2024

I found this: http://android.stackexchange.com/questions/40842/stopping-an-app-from-hijacking-browser-downloads

:D Will look into it when I get home.

from document-viewer.

ildar avatar ildar commented on August 15, 2024

This is exactly it (+with answer). Please fix accordingly.

from document-viewer.

dschuermann avatar dschuermann commented on August 15, 2024

Okay it wasn't that easy to get it right. Fix is now in master.

from document-viewer.

ildar avatar ildar commented on August 15, 2024

sorry I couldn't explain it better
Thanks. Waiting for the new version @ F-Droid.

from document-viewer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.