Importing an image from another app



  • Hi everyone,

    I'm new to Ubuntu Phone app development, and since there are few apps for the moment, I thought I might as well try to help.

    I'd like to make an app that would allow the user to import an image that my app could work on.

    I know that this is done by using the Ubuntu Content API, but I get some weird things when I try the snippet here.

    I get these warnings / errors:

    could not open containers config file  "/home/phablet/.local/share/libertine/ContainersConfig.json"
    file:///opt/click.ubuntu.com/easyscanner/0.0.1/qml/Main.qml:42:17: Unable to assign [undefined] to QObject*
    library "/vendor/lib/egl/libGLESv2S3D_adreno.so" not found
    void ContentTransfer::setTransfer(com::ubuntu::content::Transfer*) No valid transfer object passed: QObject(0x0)
    

    And then the app crashes.

    Do you know what I'm doing wrong ?

    Thank you!



Looks like your connection to UBports Forum was lost, please wait while we try to reconnect.