We have moved to a new Sailfish OS Forum. Please start new discussions there.
4

Is the phone application source available?

asked 2018-02-27 09:08:31 +0300

Sanjay Mehta gravatar image

I recently dusted off my Jolla 1 and updated to the latest Sailfish release. One of the reasons I had stopped using the phone was related to the call history. There is no easy way to clear the call history.

I'm aware of the "commhistory-tool deleteall" command. As far as I can tell, this does not work reliably.

So, since Jolla doesn't appear to have resources to add this feature to the Phone App, I'm volunteering to try. So where can I get the code? Github does not seem to have anything apart from some SDK tools.

edit retag flag offensive close delete

Comments

3

You can find all the middleware in the comunity Gitlab, specifically libcommhistory and the associated daemon. These pieces are open source and will allow you, I guess, to play with the call history.

Damien Caliste ( 2018-02-27 09:59:36 +0300 )edit

Thanks, that should get me started.

Interesting comment in that repo:

"commhistory-tool deleteall" removes all messages and conversations from the tracker database. For best results (i.e. to avoid weird sync problems), kill all applications that use commhistory before deleteall and restart afterwards.

Without looking into the code, it seems that commhistory is a shared resource. If all the client applications need to be killed and restarted, it implies there are some dependencies which aren't easy to resolve. Maybe that's why this feature isn't available. Looking back, I've had my phones for almost 4 years.

This doesn't bode well.

Sanjay Mehta ( 2018-02-27 13:53:43 +0300 )edit

1 Answer

Sort by » oldest newest most voted
6

answered 2018-02-27 09:18:53 +0300

coderus gravatar image

No, sources of Sailfish OS core apps are not available.

edit flag offensive delete publish link more

Comments

Thanks for clearing that up. I guess the only way out is to script something which kills commhistory's client applications, runs the deleteall command, and then restarts the clients.

Sanjay Mehta ( 2018-02-27 13:55:38 +0300 )edit
Login/Signup to Answer

Question tools

Follow
1 follower

Stats

Asked: 2018-02-27 09:08:31 +0300

Seen: 384 times

Last updated: Feb 27 '18