Thread: Reading apps
View Single Post
Old 01-20-2017, 11:51 AM   #25
Jim Chapman
Addict
Jim Chapman ought to be getting tired of karma fortunes by now.Jim Chapman ought to be getting tired of karma fortunes by now.Jim Chapman ought to be getting tired of karma fortunes by now.Jim Chapman ought to be getting tired of karma fortunes by now.Jim Chapman ought to be getting tired of karma fortunes by now.Jim Chapman ought to be getting tired of karma fortunes by now.Jim Chapman ought to be getting tired of karma fortunes by now.Jim Chapman ought to be getting tired of karma fortunes by now.Jim Chapman ought to be getting tired of karma fortunes by now.Jim Chapman ought to be getting tired of karma fortunes by now.Jim Chapman ought to be getting tired of karma fortunes by now.
 
Posts: 310
Karma: 2025434
Join Date: Oct 2009
Device: Lumia 950 Phone
Quote:
Originally Posted by MTR View Post
Ah, I haven't yet tried with a WSP, only with 'normal' executables. I remember there being an easy way to port desktop apps to WSA, but so far not the other way wound. So making Calibre 'see' a WSA might require Kovid's help. Will see if I can figure out something useful.
I've not actually delved into the Calibre source code (Python is not really my cup of tea) but I believe that in principle all that Calibre would need to do is launch it as a URI - such as by calling Launcher.LaunchUriAsync() - passing a URI like "file:///path/to/file.epub". Then, as long as the user had previously told their device to use that third party reader (Freda, or whatever) as the default association for files having the EPUB extension, it would all work nicely, I think.
Jim Chapman is offline   Reply With Quote