UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Importing an image from another app

    Scheduled Pinned Locked Moved App Development
    contentimportcontent-hub
    1 Posts 1 Posters 457 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • ? Offline
        A Former User
        last edited by A Former User

        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!

        1 Reply Last reply Reply Quote 0
        • First post
          Last post