Re: [SailfishDevel] ApplicationWindow.activate() does nothing

2015-06-12 Thread Thomas Tanghus
It still does nothing. And anyways when being in ApplicationWindow context it shouldn't be necessary? On Friday 12 June 2015 02:20:15 coderusin...@gmail.com wrote: you should call app.activate() The documentation says: activate() Brings the application in full-screen mode to the

Re: [SailfishDevel] Problem with playing sounds in first application

2015-06-12 Thread Thomas Tanghus
I did ;) On Friday 12 June 2015 10:45:59 coderusin...@gmail.com wrote: You check it first. Implementation may vary in different OSes On Friday 12 June 2015 02:21:10 coderusin...@gmail.com wrote: Please use SoundEffect class for that: I did that originally, but on request I have added

Re: [SailfishDevel] ApplicationWindow.activate() does nothing

2015-06-12 Thread coderusinbox
Works for me flawlessly. If you’re using Emulator just ignore bugs you founding. Sent from Windows Mail From: Thomas Tanghus Sent: ‎Friday‎, ‎June‎ ‎12‎, ‎2015 ‎3‎:‎00‎ ‎PM To: devel@lists.sailfishos.org It still does nothing. And anyways when being in ApplicationWindow context it

Re: [SailfishDevel] ApplicationWindow.activate() does nothing

2015-06-12 Thread Thomas Tanghus
On Friday 12 June 2015 10:04:18 coderusin...@gmail.com wrote: Works for me flawlessly. Weird. Do you have a link to an example? If you’re using Emulator just ignore bugs you founding. I always deploy as RPM on the phone. Sent from Windows Mail It's really not good for mailing lists. I

Re: [SailfishDevel] Problem with playing sounds in first application

2015-06-12 Thread coderusinbox
You check it first. Implementation may vary in different OSes Sent from Windows Mail From: Thomas Tanghus Sent: ‎Friday‎, ‎June‎ ‎12‎, ‎2015 ‎3‎:‎10‎ ‎PM To: devel@lists.sailfishos.org On Friday 12 June 2015 02:21:10 coderusin...@gmail.com wrote: Please use SoundEffect class for

Re: [SailfishDevel] ApplicationWindow.activate() does nothing

2015-06-12 Thread Thomas Tanghus
Firstly: *Sorry for the noise* On Friday 12 June 2015 10:46:56 coderusin...@gmail.com wrote: What example you want? For me just appWindow.activate() works. Forget it. I haven't touched the code for over a year, so I had forgotten that there are two places where the alarm could be triggered

Re: [SailfishDevel] ApplicationWindow.activate() does nothing

2015-06-12 Thread coderusinbox
check mce dbus. There is should be a method bot unblanking screen. Sent from Windows Mail From: Thomas Tanghus Sent: ‎Friday‎, ‎June‎ ‎12‎, ‎2015 ‎5‎:‎32‎ ‎PM To: devel@lists.sailfishos.org Firstly: *Sorry for the noise* On Friday 12 June 2015 10:46:56 coderusin...@gmail.com

[SailfishDevel] Bluetooth headset button

2015-06-12 Thread Taixzo
I would like to trigger an action when someone presses the call button on a Bluetooth headset. So far the only way I’ve found to do this is to edit /etc/bluetooth/audio.conf and replace HFP=true with HFP=false which switches the headset into HSP mode, at which point it will emit dbus

Re: [SailfishDevel] Problem with playing sounds in first application

2015-06-12 Thread Thomas Tanghus
On Friday 12 June 2015 02:21:10 coderusin...@gmail.com wrote: Please use SoundEffect class for that: I did that originally, but on request I have added the option to select a custom sound file, and I don't wanna limit users to wav files. Also the SoundEffect docs says: If low latency is not

Re: [SailfishDevel] ApplicationWindow.activate() does nothing

2015-06-12 Thread Thomas Tanghus
Thanks, that will keep me occupied for a while :D I've never tried programming anything using dbus. On Friday 12 June 2015 12:47:42 coderusin...@gmail.com wrote: check mce dbus. There is should be a method bot unblanking screen. Sadly it only works when the display is on, not when waking up

Re: [SailfishDevel] Deploy by copying binaries issue

2015-06-12 Thread Timur Kristóf
Thank you Jussi for your answer! :) On Fri, 2015-06-12 at 11:17 +0300, Jussi Pakkanen wrote: On 11.06.2015 18:12, Timur Kristóf wrote: I'm trying to deploy a Qt application to my Jolla. In the Sailfish OS IDE, I set up the device and set the project to deploy by copying binaries. Then