Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Importing an image from another app

    App Development
    content content-hub import
    1
    1
    222
    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.
    • T
      tforgione last edited by tforgione

      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