Content Hub: using appId to select specific source app
-
I have this ContentPeer to provide me with a URL to an audio file. It should not play the selected file.
ContentPeer { id: audioSourceSingle contentType: ContentType.Music handler: ContentHandler.Source selectionType: ContentTransfer.Single appId: "filemanager.ubports_filemanager_1.1.4" }This works (although one can select any file, not just audio files).
But I would rather not have to specify the version number.I tried:
- 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.
- Specify appId: "filemanager". Doesn't work.
- 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' :-(.
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?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login