Closed ghost closed 5 years ago
What about an "open with" option?
I'm working on "tools" list that can be used to open files. As directly using of libcontentaction isn't allowed by Harbour rules, I can't check which files have registered types in the system.
Tools added You can use external editor now. Tested with tIDE
Uhh. Hard stuff. How do I add the Jolla documents app for example? Does it also work with android apps?
It can work with applications you can start from console. For Sailfish Office command line in settings will be sailfish-office %1
.
MIME based file handling will be added when I have free time.
Okay, that works. Thanks a lot. But now it's going to be complicated: I figured out how to open a Android App in the terminal. I own an Android Office app called TextMaker that can edit copy paste etc. doc, docx etc. I can start it with
apkd-launcher "/data/app/softmaker.applications.textmakertrial-1.apk" softmaker.applications.textmakertrial/softmaker.applications.textmakertrial.TextMaker
That also works in Cargo Dock. But if I add the %1 nothing happens. Without %1 the app start without opening the choosed document. How/Where can I add the %1? The Usage of apkd-launcher is:
apkd-launcher <apkfile> <package>/<activity>
It seems that this app can't open files in this way or access is denied.
What a pitty. Thanks a lot for your patience.
And thanks for the Tool Feature. It's very helpfull
Anyway mime-based file opening will be added, so Android apps will be usable.
Wedmer, i just have see after the new update of sfos 2.2 it seems the tools options dont open a file anymore with %1 i try it with sailfish-office and harbour-editor but none opens anymore the file...
I can't test it before 2.2 release for Jolla 1.
Tools feature works for me on 2.2
No response for a long time. Some functionality was implemented.
Viewing a .txt file is very hard. I have to scroll right, right, right and back and so on. Could you tell your viewer to convert the text to fit the screen?