Open davmor2 opened 10 years ago
Thank you for bringing this up. I cannot find any documentation about registering in download manager.
Currently, PdfjsViewer can get files from file manager through content hub. Or other applicaitons could export files through content hub to PdfjsViewer after I fix this simple bug (https://github.com/bobo1993324/pdfjsViewer/issues/1).
Why not wait for the browser to integrate file download or open download files in content hub so that we can view pdf remotely? Letting PdfjsViewer open a url itself is a quick fix. But since typing an url is hard, it should start in a browser.
This is working as expected now :)
Currently you have added support for content hub which works very nicely, however a lot of the pdfs you want to read need to be downloaded from the web. Currently if you try and do this you get an error: Sorry there aren't currently any apps installed that can handle this type of content even though the pdfjsViewer is installed. It turns out the issue is that the app isn't registered with download manager so as far as the phone is concerned there is no app.
More info can be found here http://developer.ubuntu.com/api/qml/sdk-14.10/Ubuntu.DownloadManager.index/
Many thanks