UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Schlicki2808
    3. Topics
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 8
    • Posts 46
    • Groups 0

    Topics

    • Schlicki2808S

      Which bluetooth mouse?

      Watching Ignoring Scheduled Pinned Locked Moved Solved Lenovo Tab M10 HD (2nd Gen)
      5
      0 Votes
      5 Posts
      490 Views
      Schlicki2808S
      To complete this thread: I found a mouse that works like a charm: Rapoo Wireless Mouse MT750S Okay, the lomiri bug that it only works fine in portrait mode is there, but I'm sure this will be fixed and this has nothing to do with the mouse itself. So, thanks for all suggestions!
    • Schlicki2808S

      dotnet on Ubuntu Touch

      Watching Ignoring Scheduled Pinned Locked Moved App Development
      3
      3 Votes
      3 Posts
      468 Views
      Schlicki2808S
      @AdhithAdhi I've installed it via apt-get install after I switched the file system to read/write. But there is another way to manually install it which could be the better way: https://learn.microsoft.com/en-us/dotnet/core/install/linux-scripted-manual#manual-install
    • Schlicki2808S

      Pixel 3a: Video recording produces 0-byte-files

      Watching Ignoring Scheduled Pinned Locked Moved Solved Support
      3
      1
      0 Votes
      3 Posts
      305 Views
      Schlicki2808S
      @lduboeuf That worked, thank you!
    • Schlicki2808S

      Problems with installed apps after switching to Focal

      Watching Ignoring Scheduled Pinned Locked Moved Solved 20.04 Focal Fossa
      5
      0 Votes
      5 Posts
      446 Views
      Schlicki2808S
      Development works fine, thanks for the hint
    • Schlicki2808S

      UT Case for Google Pixel 3a

      Watching Ignoring Scheduled Pinned Locked Moved Off topic
      3
      1
      8 Votes
      3 Posts
      354 Views
      ?
      it's very very beautiful
    • Schlicki2808S

      Handle downloads with a WebView

      Watching Ignoring Scheduled Pinned Locked Moved Solved App Development
      4
      0 Votes
      4 Posts
      573 Views
      Schlicki2808S
      So, I finally found a solution. Okay, in my case, the constellation is a bit different: I have a qml app with a WebView. I ended up to trigger the download from HTML/Javascript side and to process the download on qml side. I failed to use the SingleDownload component because it can not handle data-URLs. So I implemented my own solution: // ... WebContext { id: mainContext onDownloadRequested: { var fileUrl = "/home/phablet/.local/share/schulferien.daniel/Downloads/" + download.downloadFileName; var request = new XMLHttpRequest(); request.open("PUT", fileUrl, false); request.send(decodeURIComponent(download.url.toString().replace("data:text/plain;,", ""))); PopupUtils.open(downloadedMessage); } } WebView { id: mainWebView context: mainContext // ... The "fileUrl" has to point to the application path + Downloads, otherwise a "device not open" error will occur.
    • Schlicki2808S

      What type of app? (qml, html ...)

      Watching Ignoring Scheduled Pinned Locked Moved App Development
      2
      0 Votes
      2 Posts
      304 Views
      AppLeeA
      Hi @schlicki2808 That's an interesting question. My opinion is to do what is best for you. But I will nuance this. There are features like the swipe from bottom that are easier to do with a native QML app. HTML app are considered native as far as they are designed for Ubuntu Touch, but using C++ is faster than Javascript and there are tons of libraries one can use to improve their app. My idea is that HTML apps might be less optimized and maybe more resources hungry. But I might be wrong about it. Pure QML apps use Javascript for the processing. C++ is better and closer to the OS. HTML I imagine uses QtWebview or such to render HTML which should eat a bit of RAM and CPU power... For "simple" apps we won't probably notice the difference. For more power consuming apps, C++ libraries is the best IMHO. Regarding the visual aspect (which I believe is the core of your message) I think each developer has their own style and I'm not sure if the techno used has such an impact compared to the design choices of the developer. But I might be completely wrong as I only have experience with QML. Maybe Joan might have a better take/answer on this.
    • Schlicki2808S

      HTML App - file selection

      Watching Ignoring Scheduled Pinned Locked Moved Solved App Development
      3
      0 Votes
      3 Posts
      481 Views
      Schlicki2808S
      I found the solution! I came across the documentation for the policy groups. So I added "content_exchange" to the list of the "policy-groups" in the apparmor file and - voila - the input file dialog shows me a list of apps. Thanks for the hint with the Content Hub!