|
2012-05-24
, 09:49
|
Posts: 1,320 |
Thanked: 915 times |
Joined on Feb 2010
|
#452
|
Too hackish for my taste... there must be a better way. I found an API that maybe provides what's needed. Have to test it. If not, maybe there's some dbus interface for it.
The Following User Says Thank You to godofwar424 For This Useful Post: | ||
|
2012-05-25
, 08:02
|
Posts: 1,313 |
Thanked: 2,977 times |
Joined on Jun 2011
@ Finland
|
#453
|
Well there should be a dbus command/event that occurs when a phone call is made or received, and a dbus command/event when that call is ended.
Maybe listening in on the dbus and then calling somebody and hanging up, then finding out what command/event occurred when the phone call starts and ends
The Following User Says Thank You to ajalkane For This Useful Post: | ||
|
2012-05-25
, 18:34
|
Posts: 173 |
Thanked: 83 times |
Joined on Dec 2011
|
#454
|
|
2012-05-25
, 18:49
|
Posts: 1,313 |
Thanked: 2,977 times |
Joined on Jun 2011
@ Finland
|
#455
|
When I clicked "test" , it launched wazapp application correctly , but I noticed that in the chats, the virtual keyboard does not come up if I click in the text input area. On the other hand, if I launch wazapp from the terminal using the same command as I input in Profilematic custom action, the keyboard comes up fine in the chat. !
|
2012-05-25
, 18:53
|
Posts: 1,320 |
Thanked: 915 times |
Joined on Feb 2010
|
#456
|
I also strongly suspect there's DBus messages flying around when calls happen. But I hope the API works, it would be much cleaner than trying to figure out the DBus API by monitoring messages.
The Following User Says Thank You to godofwar424 For This Useful Post: | ||
|
2012-05-25
, 19:53
|
Posts: 8 |
Thanked: 4 times |
Joined on Feb 2012
@ Germany
|
#457
|
|
2012-05-25
, 20:02
|
Posts: 1,313 |
Thanked: 2,977 times |
Joined on Jun 2011
@ Finland
|
#458
|
I think this was mentioned already, but somehow after a reboot profilematic always complains about credential files removed and that flight mode will not be affected by rules. Is there a workaround for it? (Reinstalling profilematic does not help). Would it help to install Profilematic with inception?
I have an app installed called "toggle flight mode" which works, so I thought Profilematic should be able to do so as well even without tricks like inception or am I wrong?
The Following User Says Thank You to ajalkane For This Useful Post: | ||
|
2012-05-25
, 20:14
|
Posts: 173 |
Thanked: 83 times |
Joined on Dec 2011
|
#459
|
Hmm... that's really peculiar... Have you tried any other apps if they behave the same when launched from ProfileMatic?
Frankly I'm quite surprised at that, since what ProfileMatic does is just execute the command. No frills, no thrills. Just fire and forget.
This kind of points to, maybe, some environmental variables that not existing when launching from the ProfileMatic daemon. I'll have to ponder a bit about that, but if you can confirm the behaviour in other applications that'd be nice.
|
2012-05-25
, 20:31
|
Posts: 173 |
Thanked: 83 times |
Joined on Dec 2011
|
#460
|
Originally Posted by nokiac
When I clicked "test" , it launched wazapp application correctly , but I noticed that in the chats, the virtual keyboard does not come up if I click in the text input area. On the other hand, if I launch wazapp from the terminal using the same command as I input in Profilematic custom action, the keyboard comes up fine in the chat. !
Posted by ajalkane
Hmm... that's really peculiar... Have you tried any other apps if they behave the same when launched from ProfileMatic?
Frankly I'm quite surprised at that, since what ProfileMatic does is just execute the command. No frills, no thrills. Just fire and forget.
This kind of points to, maybe, some environmental variables that not existing when launching from the ProfileMatic daemon. I'll have to ponder a bit about that, but if you can confirm the behaviour in other applications that'd be nice.
#!/bin/sh
QT_IM_MODULE=MInputContext export QT_IM_MODULE
/opt/waxmppplugin/bin/wazapp/wazapp
The Following User Says Thank You to nokiac For This Useful Post: | ||
My N9/N950 projects: