<?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[Content Hub: using appId to select specific source app]]></title><description><![CDATA[<p dir="auto">I have this <a href="https://ubports.gitlab.io/docs/api-docs/lomiri-content-qml-api/qml-lomiri-content-contentpeer.html" target="_blank" rel="noopener noreferrer nofollow ugc">ContentPeer</a> to provide me with a URL to an audio file. It should <em>not</em> play the selected file.</p>
<pre><code>ContentPeer {
    id: audioSourceSingle
    contentType: ContentType.Music
    handler: ContentHandler.Source
    selectionType: ContentTransfer.Single
    appId: "filemanager.ubports_filemanager_1.1.4"
}
</code></pre>
<p dir="auto">This works (although one can select any file, not just audio files).<br />
But I would rather not have to specify the version number.</p>
<p dir="auto">I tried:</p>
<ul>
<li>Not specifying the appId. The code now displays a ContentPeerPicker, with FileManager, Morph and Music. Filemanager works, but Morph shows only downloads so is limited, and Music nicely shows audio files but plays them when selected. That is no good obviously, but I don't know how to fix this.</li>
<li>Specify appId: "filemanager". Doesn't work.</li>
<li>Specifiy appId: "filemanager.ubports_filemanager". This shows the file manager, but when you select a file, it asks what you want to do with it, and that does not include 'return the URL' :-(.</li>
</ul>
<p dir="auto">Anyone any ideas about how to get rid of the version number but retain functionality? Is there a way to obtain a full appId from a partial one?</p>
]]></description><link>https://forums.ubports.com/topic/12297/content-hub-using-appid-to-select-specific-source-app</link><generator>RSS for Node</generator><lastBuildDate>Fri, 22 May 2026 12:32:40 GMT</lastBuildDate><atom:link href="https://forums.ubports.com/topic/12297.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 22 May 2026 10:30:03 GMT</pubDate><ttl>60</ttl></channel></rss>