Profile
Personal Photo
Options
Personal Statement
yoram doesn't have a personal statement currently.
Personal Info
yoram
Age Unknown
![]()
Location Unknown
Birthday Unknown
Interests
No Information
Statistics
Joined: 10-August 18
Profile Views: 4,706*
Last Seen: 29th January 2019 - 11:00 AM
Local Time: Dec 9 2019, 09:51 PM
20 posts (0 per day)
Contact Information
![]() ![]() ![]() ![]() ![]() * Profile views updated each hour
![]() |
Topics
Posts
Comments
Friends
My Content
13 Sep 2018
beware: this is not a real solution for silver button utilization it's only a hack, poof of concept if you will.
one of the most annoying parts of having Gemini as Sailfish OS smartphone is the need to open it in order to answer a call on the touch screen and then close it to speak conveniently... the natural way would be to use the silver button, but I could not change voicecall-ui or lipstick compositor to read it's events from /dev/input/event1. why ? needs more investigation... so here is how I did hack to make it happen: I created mce configuration file with the collowing line: CODE [EVDEV] KEY_SEND=KEY_HOME that will tell mce to translate silver button event to "home" key event, which makes it raise a powerkey signal with "home-key" argument in /usr/share/voicecall-ui-jolla I added the following patch CODE --- main.qml.orig 2018-09-13 21:40:34.440266047 +0300 +++ /usr/share/voicecall-ui-jolla/main.qml 2018-09-13 17:07:11.751154474 +0300 @@ -336,6 +336,24 @@ } } + NemoDBus.DBusInterface { + bus: NemoDBus.DBus.SystemBus + service: 'com.nokia.mce' + path: '/com/nokia/mce/signal' + iface: 'com.nokia.mce.signal' + signalsEnabled: true + + function power_button_trigger(event) { + if (event == "home-key") { + if (main.state === 'incoming') { + telephony.incomingCall.answer() + } else if (telephony.primaryCall) { + telephony.primaryCall.hangup() + } + } + } + } + MessagesInterface { id: messaging } VoiceCallManager { this patch tells the application to handle dbus signal (the one we raised from mce) by answer/hangup according to call state. this is bad engineering and it sends all running application to "cover" state, which is not nice, but it works. I'm hoping to create a better solution soon, will be happy to get any leads for Sailfish QML documentation and specific Gemini PDA modifications (if any) in order to do a good job. have fun |
Comments
Other users have left no comments for yoram.
Friends
There are no friends to display.
![]() |
![]() |
Lo-Fi Version | Time is now: 9th December 2019 - 09:51 PM |