Re: [SailfishDevel] Keep an application running without keeping the window open

2018-02-18 Thread Marcin Mielniczuk
Do I understand correctly that the dbus daemons run as usual systemd --user daemons and simply communicate over dbus? On 18.02.2018 22:59, Kimmo Lindholm wrote: > > One small daemon you can take a look is my call fhasher > https://github.com/kimmoli/callflasher > > for complex one, take a look

Re: [SailfishDevel] Keep an application running without keeping the window open

2018-02-18 Thread Kimmo Lindholm
One small daemon you can take a look is my call fhasher https://github.com/kimmoli/callflasher for complex one, take a look at tohkbd2 . it has 2 daemons, system and user, and ui app that all communicate together over dbus -kimmo Lähettäjä: Devel [mailto:devel-boun...@lists.sailfishos.org]

Re: [SailfishDevel] how to disable swipe (from left, from right) on Silica PageStack

2018-02-18 Thread Zoltán Lutor
Hi, Tested, works fine! Br, Zoltan 2018-02-18 20:14 GMT+01:00 Kimmo Lindholm : > Set backNavigation and forwardNavigation to false when you dont want to > allow navigation. > > (not tested, just looked from sources) > > > > ref

Re: [SailfishDevel] how to disable swipe (from left, from right) on Silica PageStack

2018-02-18 Thread Lutor, Zoltán
Ok, thx. I will give it a try! Zoltan On Sunday, February 18, 2018, Kimmo Lindholm wrote: > Set backNavigation and forwardNavigation to false when you dont want to allow > navigation. > (not tested, just looked from sources) > > ref >

Re: [SailfishDevel] Keep an application running without keeping the window open

2018-02-18 Thread Marcin Mielniczuk
Is there any minimal example I could take a look at? I've never done anything more with dbus than dbus-send. On 17.02.2018 22:06, Adam Pigg wrote: > Hi > > You could create a dbus service for the application to talk to.  The > gui application can launch the dbus service if it isnt running, and >

Re: [SailfishDevel] how to disable swipe (from left, from right) on Silica PageStack

2018-02-18 Thread Kimmo Lindholm
Set backNavigation and forwardNavigation to false when you dont want to allow navigation. (not tested, just looked from sources) ref https://github.com/dm8tbr/sailfishsilica-qt5/blob/master/usr/lib/qt5/qml/Sailfish/Silica/Page.qml#L88 -kimmo Lähettäjä: Devel

[SailfishDevel] how to disable swipe (from left, from right) on Silica PageStack

2018-02-18 Thread Zoltán Lutor
Hi, Is there any possibility for enabling/disabling 'horizontal' gestures on Page of PageStack? [Or in general in the applciation] Mainly form left-to-right, it is quite annoying when accidentally one leaves game page... Thx, Zoltan

Re: [SailfishDevel] QML Audio/MediaPlayer - help needed...

2018-02-18 Thread Lutor, Zoltán
Some details shared here in one answer: https://together.jolla.com/question/175875/new-native-sailfish-game-in-harbour/ Tgx, Zoltan On Saturday, February 17, 2018, Lewis Rockliffe wrote: > Do you have an example of how you are playing your sounds? > > Are you using MediaPlayer or SoundEffect?

Re: [SailfishDevel] QML Audio/MediaPlayer - help needed...

2018-02-18 Thread Lutor, Zoltán
Hi, I've originally used Audio but changed to MediaPlayer recently - hoping it works, but it was the same. I dont use SoundEffect - mainly because audio clips are MP3 and there was some issue with using it back then (I cannot recall now). @Lewis: do you mind if I share actual code example