import QtQuick 2.0 import Sailfish.Silica 1.0 import Nemo.FileManager 1.0 import Sailfish.TransferEngine 1.0 Page { id: page property string file // The effective value will be restricted by ApplicationWindow.allowedOrientations allowedOrientations: Orientation.All ShareMethodList { id: shareMethodList anchors.fill: parent header: PageHeader { title: "Share" } //filter: type filter: "image/jpeg" source: "file://" + page.file content: { "name": "Photo from advanced camera", "data": "file://" + page.file, "type": "image/jpeg", "icon": "image://theme/icon-m-file-image" } ViewPlaceholder { enabled: shareMethodList.model.count === 0 text: "No sharing accounts available!" } } }