![]() |
Re: Help me to code for Sailfish OS
Quote:
Code:
import QtQuick 2.2 |
Re: Help me to code for Sailfish OS
2 Attachment(s)
Quote:
For me, the 1.0 opacity works properly, but the bg ends up being black. 121518 rgb color should be a flat, dark navy-bluish color, (like the previous screenshot). Also, I can tell something's funny, because when I slowly swipe from the side, (as if to peek), it goes straight from black to totally transparent, with no fade, (whereas the normal behavior is a steady fade from the open app to the home screen) |
Re: Help me to code for Sailfish OS
screenshot came out funky in last attachment - in reality it was a solid black background on the settings app...
|
Re: Help me to code for Sailfish OS
1 Attachment(s)
as i said works like you described, check attach
|
Re: Help me to code for Sailfish OS
Quote:
Thanks |
Re: Help me to code for Sailfish OS
Hello guys, about coding, I have latest SDK 2.2.4. When I try to debug with gdb everything seems to work, except I does not have loaded correct symbols. Unfortunately there is a LOT of information about gdb, but I do not undestand them completely..
I can easily reproduce the problem and the memory address is always the same, journactl points to libQt5Quick.so.5.6.3 Code:
segfault at 4 ip 6fae6efa sp 77ae7c30 error 4 in libQt5Quick.so.5.6.3[6fa05000+264000] Code:
0x6fb90efa 8b 77 04 mov 0x4 (%edi),%esi Thank you a lot |
Re: Help me to code for Sailfish OS
Quote:
What's the component that you are missing symbols on? |
Re: Help me to code for Sailfish OS
Quote:
Where could I find out on which component it is failing ? From what I have said it seems to be QtQuick 2.6 (it was 2.2 before, same crash) |
Re: Help me to code for Sailfish OS
I'm trying to listen for a call from a specific phone number to act upon. It seems almost trivial to make in QtQuick, analogous to how PhoneHook handles it:
QML: Code:
DBusInterface { Code:
DBusInterface { But this method is ugly, and isn't reliable because it seems the (correct) lineId isn't always immediately available when an incoming call arrives. So, is this a bug in the DBusInterface plug-in, or am I missing something? |
Re: Help me to code for Sailfish OS
To follow up my own question: I just noticed PhoneHook uses the empty string as service, whereas I used org.nemomobile.voicecall. According to the Qt documentation: "The arguments service and path can be empty, denoting a connection to any signal of the (interface, name) pair, from any remote application."
So, I tried to use Code:
DBusInterface { Also, DBusInterface has an undocumented property watchServiceStatus. This however seems irrelevant, as the service org.nemomobile.voicecall is already available, just not the /calls/active path. |
All times are GMT. The time now is 09:08. |
vBulletin® Version 3.8.8