<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Contact custom incoming Call&#x2F;Notification sound]]></title><description><![CDATA[<p dir="auto">Hi,<br />
I'm starting to implement the custom sound for incoming sound and message.</p>
<p dir="auto">What we need:</p>
<p dir="auto">A global storage path for the sounds files.<br />
The custom ringtone and message should be settable and read from Address book / Messaging and Dialer app.<br />
We could choose between default OS sounds and custom ones.</p>
<p dir="auto">What we have:</p>
<p dir="auto">QContact provides a detail "ringtone" with 3 property fields:<br />
FieldAudioRingtoneUrl<br />
FieldVideoRingtoneUrl<br />
FieldVibrationRingtoneUrl</p>
<p dir="auto">FieldAudioRingtoneUrl should be ok for the incoming call<br />
But what for incoming message ? I would borrow the FieldVibrationRingtoneUrl property.</p>
<p dir="auto">Implementation:</p>
<p dir="auto">We could use the standard sounds directory as specified in freedesktop : <code>~/.local/share/sounds</code></p>
<p dir="auto">Telephony-service approver is the service responsible for playing the sound on incoming call, we already know the "contact" there, so it can just take the custom sound path if allowed and exist, otherwise play the usual sound.<br />
Same should occur for incoming messaging sound, code is in another place.</p>
<p dir="auto">Address-book-app: creates shared components to allow editing the ringtone contact detail ( default sounds + custom ones + allow to import new )</p>
<p dir="auto">There will probably need app-arrmor permission rules to add.</p>
<p dir="auto">Any things to think more ?<br />
--=========OBSOLETE===============<br />
The below notes was for Xenial</p>
<p dir="auto">[EDIT]: testable ( devel only):</p>
<p dir="auto"><code> sudo ubports-qa install PR_telephony-service_65</code><br />
<code> sudo ubports-qa install PR_address-book-app_211</code><br />
reboot</p>
<p dir="auto">If you don't want to overwrite existing address-book-app, this can be built with clickable but you will not have custom sound preview and messaging-app and dialer-app won't benefit of the click package. just clone and run <code>clickable --arch yourarch</code><br />
If someone can help me setup a CI click build</p>
<p dir="auto">Note that currently only audio call ringtone is supported and you can only import custom sounds with address book app<br />
Edit a contact, choose "Ringtone" in the dropdown, select a default system sound or import one.<br />
Try an incoming call....</p>
]]></description><link>https://forums.ubports.com/topic/8142/contact-custom-incoming-call-notification-sound</link><generator>RSS for Node</generator><lastBuildDate>Wed, 17 Jun 2026 15:43:23 GMT</lastBuildDate><atom:link href="https://forums.ubports.com/topic/8142.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 14 Sep 2022 20:33:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Contact custom incoming Call&#x2F;Notification sound on Sun, 11 Dec 2022 22:35:49 GMT]]></title><description><![CDATA[<p dir="auto">Hi, some news,</p>
<p dir="auto">So the feature was working fine on my device!. But as we finally reverted back the new contact backend, it is not possible anymore...</p>
<p dir="auto">Adding such possibility in current contact backend is not straight forward, and not sure  if i should spend days on a backend that will be uncertain for the future.</p>
]]></description><link>https://forums.ubports.com/post/69068</link><guid isPermaLink="true">https://forums.ubports.com/post/69068</guid><dc:creator><![CDATA[lduboeuf]]></dc:creator><pubDate>Sun, 11 Dec 2022 22:35:49 GMT</pubDate></item><item><title><![CDATA[Reply to Contact custom incoming Call&#x2F;Notification sound on Wed, 21 Sep 2022 23:39:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lduboeuf" aria-label="Profile: lduboeuf">@<bdi>lduboeuf</bdi></a> Now that's a nice feature!</p>
]]></description><link>https://forums.ubports.com/post/67478</link><guid isPermaLink="true">https://forums.ubports.com/post/67478</guid><dc:creator><![CDATA[mw4jet]]></dc:creator><pubDate>Wed, 21 Sep 2022 23:39:42 GMT</pubDate></item><item><title><![CDATA[Reply to Contact custom incoming Call&#x2F;Notification sound on Thu, 22 Sep 2022 21:21:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lduboeuf" aria-label="Profile: lduboeuf">@<bdi>lduboeuf</bdi></a> said in <a href="/post/67425">Contact custom incoming Call/Notification sound</a>:</p>
<blockquote>
<p dir="auto">ready for testing ( devel ), see edited previous post</p>
</blockquote>
<p dir="auto">Well lets pioritize the switch to the new contact backend. This is a huge gap again. Lots of tests needed and still some glitches.<br />
Kudos to Alberto for continuing this effort, i think help would be appreciated: <a href="https://github.com/ubports/ubuntu-touch/issues/997" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/ubports/ubuntu-touch/issues/997</a><br />
just switch to devel if not already the case.<br />
In RC soon</p>
]]></description><link>https://forums.ubports.com/post/67476</link><guid isPermaLink="true">https://forums.ubports.com/post/67476</guid><dc:creator><![CDATA[lduboeuf]]></dc:creator><pubDate>Thu, 22 Sep 2022 21:21:52 GMT</pubDate></item><item><title><![CDATA[Reply to Contact custom incoming Call&#x2F;Notification sound on Wed, 21 Sep 2022 14:23:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lduboeuf" aria-label="Profile: lduboeuf">@<bdi>lduboeuf</bdi></a> said in <a href="/post/67468">Contact custom incoming Call/Notification sound</a>:</p>
<blockquote>
<p dir="auto">a custom ringtone per contact</p>
</blockquote>
<p dir="auto">... which is a super nice feature that many people will find useful <img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f525.png?v=bd2c1f0ef09" class="not-responsive emoji emoji-android emoji--fire" style="height:23px;width:auto;vertical-align:middle" title=":fire:" alt="🔥" /></p>
]]></description><link>https://forums.ubports.com/post/67470</link><guid isPermaLink="true">https://forums.ubports.com/post/67470</guid><dc:creator><![CDATA[Moem]]></dc:creator><pubDate>Wed, 21 Sep 2022 14:23:03 GMT</pubDate></item><item><title><![CDATA[Reply to Contact custom incoming Call&#x2F;Notification sound on Wed, 21 Sep 2022 12:53:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mw4jet" aria-label="Profile: mw4jet">@<bdi>mw4jet</bdi></a> Maybe i should rename the topic title.<br />
I'm working on allowing to set a custom ringtone per contact</p>
]]></description><link>https://forums.ubports.com/post/67468</link><guid isPermaLink="true">https://forums.ubports.com/post/67468</guid><dc:creator><![CDATA[lduboeuf]]></dc:creator><pubDate>Wed, 21 Sep 2022 12:53:38 GMT</pubDate></item><item><title><![CDATA[Reply to Contact custom incoming Call&#x2F;Notification sound on Wed, 21 Sep 2022 10:25:20 GMT]]></title><description><![CDATA[<p dir="auto">I transferred a couple of mp3 files which have been clipped to work as sound files, they are in my Downloads folder and from the sounds category in settings I can access and set them as ringtones or notification sounds.</p>
<p dir="auto">Why all that?</p>
]]></description><link>https://forums.ubports.com/post/67466</link><guid isPermaLink="true">https://forums.ubports.com/post/67466</guid><dc:creator><![CDATA[mw4jet]]></dc:creator><pubDate>Wed, 21 Sep 2022 10:25:20 GMT</pubDate></item><item><title><![CDATA[Reply to Contact custom incoming Call&#x2F;Notification sound on Mon, 19 Sep 2022 21:34:51 GMT]]></title><description><![CDATA[<p dir="auto">ready for testing ( devel ), see edited previous post</p>
]]></description><link>https://forums.ubports.com/post/67425</link><guid isPermaLink="true">https://forums.ubports.com/post/67425</guid><dc:creator><![CDATA[lduboeuf]]></dc:creator><pubDate>Mon, 19 Sep 2022 21:34:51 GMT</pubDate></item></channel></rss>