Comment 2 for bug 1621401

Revision history for this message
Alberto Mardegan (mardy) wrote :

What if instead you implement something like this:

    ContentPeerModel {
        id: destinationsModel
        contentType: ContentType.Pictures
        handler: ContentHandler.Destination
    }

1) when importing, you remember the source appId
2) when the user taps on Done, you check whether the original appId is also present in destinationsModel.peers
3a) if it is, you initiate a transfer to this app
3b) if it isn't, you save to the gallery app like you are doing now

In this way, you don't need any additional UI, and there's no need for the app to be in the OpenStore.