maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   [WIP] Sailfish Automatic Answering (https://talk.maemo.org/showthread.php?t=94119)

evk 2014-11-07 23:31

[WIP] Sailfish Automatic Answering
 
1 Attachment(s)
I made a very basic answering app, this is primarly for my self to use while driving, but I guess someone else could find it handy.

Have fun

szopin 2014-11-07 23:57

Re: [WIP] Sailfish Automatic Answering
 
openrepos?

gaiosgf 2014-11-08 01:00

Re: [WIP] Sailfish Automatic Answering
 
Quote:

Originally Posted by evk (Post 1446317)
i made a very basic answering app, this is primarly for my self to use while driving, but i guess someone else could find it handy.

have fun

yes!!!yes!!!yes!!!
Thang you.you are greeeeeeat!!!!!

zlatko 2014-11-08 06:46

Re: [WIP] Sailfish Automatic Answering
 
@evk
Thank you!
I was missing badly this from Jolla's launch! When skiing and using handsfree answering a call is a huge PITA! You have to take off your gloves, open your pocket, pull out the phone with cold hands risking it slips off into the snow etc.

My device is running 1.1.0.39 and the app cover is not working. Or I do not understand how it is supposed to work - enable/disable the application? Also app cover always shows "disabled", even when auto answer is enabled.

evk 2014-11-08 09:30

Re: [WIP] Sailfish Automatic Answering
 
@szopin, I'll put it to openrepos or harbour once it feels reasonably tested. For now, use the rpm linked above.

@zlatko, Seems like the cover is broken. I'll have a look at that. It's supposed to enable/disable.

Anything else that needs improving?

zlatko 2014-11-08 15:13

Re: [WIP] Sailfish Automatic Answering
 
@evk
I do not see any room for improvement - work flawlessly as it is! :)
Actually there are only 2 things that will improve it for me:

1. Option to auto enable it when (wired or BT)headset is connected.
2. Integration with Jolla settings: Settings>Apps>Phone. "Auto answer" and "Delay" should be just an options there.

evk 2014-11-08 19:43

Re: [WIP] Sailfish Automatic Answering
 
Quote:

Originally Posted by zlatko (Post 1446385)
1. Option to auto enable it when (wired or BT)headset is connected.

I'll try to fix this. Currently not sure how I check for wired headsets.

Quote:

2. Integration with Jolla settings: Settings>Apps>Phone. "Auto answer" and "Delay" should be just an options there.
That would be nice, but requires patching of system files. Maybe...

zlatko 2014-11-08 19:55

Re: [WIP] Sailfish Automatic Answering
 
@evk
BT headset recognition and auto answer enabling is great for now! :)
About system integration - may be someone from Jolla can help. I will try to get some attention on TJC.

Mikkosssss 2014-11-08 20:33

Re: [WIP] Sailfish Automatic Answering
 
Should be easy.
You could ask sfietkonstantin how he did this: https://openrepos.net/content/sfietk...jolla-settings

zlatko 2014-11-10 09:22

Re: [WIP] Sailfish Automatic Answering
 
@evk
Another small request that just came to my mind - add setting for launching the application in "enabled" state. Currently I have to go to application and enable it after launching. So in future if you add headset connection and app launch trigger it will be perfect to launch in enabled state.
Thank you once again for your work! Just a week ago I was thinking - "Another winter is coming and I will not be able to easily use my phone when skiing!" You saved me! :)

evk 2014-11-10 09:46

Re: [WIP] Sailfish Automatic Answering
 
The app is supposed to remember the settings, that doesn't work for you zlatko?

I'm working on BT-enable.

Currently not sure how to best solve wired headsets. The only way I currently now to detect that there's a headset connected is looking at the pulse audio devices. Feels a bit shaky though.
There's dbus message at (dis)connect, but I'd like to see if it's connect at app start.

The torch from Sfiet_Konstantin seems like a usable base for daemonisation. I'll look further into that once I got headset detection done. Might be two versions, one available from openrepos that can run as a daemon. And a halal version for Harbour.

No promises though, available time and energy dictates what will be done.

zlatko 2014-11-10 10:08

Re: [WIP] Sailfish Automatic Answering
 
@evk
I haven't tried it this way :) What I do is - launch app=>enable=>use=>disable=>close app. So it starts in "disabled" mode.
Question - when I close app in "enabled" state, auto answer will be deactivated?
I think cover fix is the most important pending improvement.

evk 2014-11-10 10:33

Re: [WIP] Sailfish Automatic Answering
 
Yes, the answer function will only work while the app is running. That's one of the reasons why a daemon would make a lot of sense.

This is one area that could be improved in Sailfish OS, "apps" that run in the background and don't need a cover. An option to auto start these would also be nice. It's certainly possible to do that now, but some kind of GUI managment and harbour availbility would make it available for those who don't want to (or knows about) openrepos and developer mode.

This would fit an app like this one, or others like call recorder, Squilla, Have Clip, etc.

zlatko 2014-11-10 14:48

Re: [WIP] Sailfish Automatic Answering
 
@evk
Confirmed - application launches in the state it was closed with. Nice!

gaiosgf 2015-05-20 20:29

Re: [WIP] Sailfish Automatic Answering
 
Hi
I have a problem after the 1.1.4.29
I use a bluetooth SE MW600 with fm radio.When the radio is open and i have a incoming call,the sound of it goes to the loudspeaker,instead for the bluetooth.Any help?
(i no.Bad english.Sorry.)

evk 2015-05-25 13:28

Re: [WIP] Sailfish Automatic Answering
 
Noted, I'll have a look at it, but no promises. Time for hobby projects have been scarce recently.

jarator 2015-05-29 11:37

Re: [WIP] Sailfish Automatic Answering
 
I can confirm speakerphone problem.
I'm using latest jolla & headphones. but incoming call is coming always via speakerphone.

jellyroll 2016-03-26 18:15

Re: [WIP] Sailfish Automatic Answering
 
The link to this file is dead. Does any of you'll own a copy of this package?
harbour-answer-0.1-1.armv7hl.rpm

velox 2016-03-26 19:38

Re: [WIP] Sailfish Automatic Answering
 
A little hint for BT:
for my reconnect hack I initially searched for the jolla BT settings qml on device, copied it and just removed everything that didn't seem useful for my purpose. That was a good starting point to understand how it works. You could do the same or unpack my rpm and have a look there (it's all qml, but I think I removed the "bt on/off" switch).
Fair warning:
I don't call it a hack lightly, it's a bit rubbish. Also, I haven't had a look at it since I got a newer jolla without BT problems.

jellyroll 2016-03-27 06:16

Re: [WIP] Sailfish Automatic Answering
 
Quote:

Originally Posted by evk (Post 1446317)
I made a very basic answering app, this is primarly for my self to use while driving, but I guess someone else could find it handy.

Have fun

The link to this rmp package is dead.


All times are GMT. The time now is 03:57.

vBulletin® Version 3.8.8