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 574 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

        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
        • First post
          Last post