UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. gwado
    3. Best
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 14
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Problem initializing audio player for automatic playback on launch

      @CiberSheep Thank you for sharing this code with me.
      I've noticed that the problem seems to exist for this app too, as the developer uses a timer to start playback with a delay.
      I applied this in my code and it seems to work. I'll now be able to add a few features to it.
      Thanks again.

      Here's a code snippet if it helps anyone in the future. Timer interval (1500ms) to be adapted.

          Timer {
              id: playStarter
              interval: 1500
              onTriggered: {
                  musicPlayer.play()
              }
          }
          MediaPlayer {
              id: musicPlayer
          }
      
          function pause() {
              musicPlayer.pause();
          }
      
          function play() {
              if (musicPlayer.source) {
                  musicPlayer.pause();
                  playStarter.restart();
              }
          }
      
      
      
      posted in App Development
      gwadoG
      gwado
    • RE: Problem initializing audio player for automatic playback on launch

      @CiberSheep Thank you. I was using mediaplayer but the problem was the same. I'll dig up the subject again and go over the code. As my request is basic, the problem is certainly in my approach and my code.
      I will be back.

      posted in App Development
      gwadoG
      gwado
    • Vibe coding or create an app with AI

      Hello everyone,

      What are the views of UBports app developers regarding app creation with AI, please? Do any of you have any feedback or experiences to share?

      I'm not a professional coder; I've been coding for over 20 years with the aim of creating useful and functional tools for subjects other than IT. It's a passion since I keep coming back to it, but my goal has always been the end result rather than the code itself.
      In the past, I used to hand-code UT apps with quite a bit of difficulty. Partly because Python and QML aren't languages I'm familiar with, but also because the documentation for certain external APIs is sometimes vague, and also due to a lack of time (both for learning and for coding).
      I managed to make a few apps that work but remain somewhat shaky (some are still on the store: https://open-store.io/?search=publisher%3Agwado). Some apps are simple webapps.

      For the past few weeks, I've been testing the creation of an audio app (Subsonic client) with offline mode, an ergonomic interface, a certain sobriety, and using Python+QML. It works quite well, but 99.99% of the code comes from AI (Claude Pro version).
      Of course, there have been some hiccups and the code certainly isn't perfect, but I've been able to create a functional app for an OS that is close to my heart. It might not be totally secure, but it's still more so than if I had made it myself!
      I try to act as much as possible as an inspector and a guide. I don't code.
      Once the app is broadly finished, I plan to ask the AI to create a document for me explaining the code with examples, how the languages used work, the methods employed, etc. Solely for the purpose of enriching my knowledge.

      I think I understand the negative comments about using AI in the world of professional development. I've noted the AI industry's involvement in environmental, political, and social issues.
      Have you already tested AI as part of your UBports app projects? What lessons have you personally drawn from it? And how do you manage to reconcile this increased productivity, if you feel the same way as I do, with the values that drive us all more or less in the world of Free Software and UBports (my "old" Pixel 3a runs perfectly)?

      posted in App Development
      gwadoG
      gwado
    • RE: Vibe coding or create an app with AI

      @developerbayman We agree on that point. It’s a game-changer for projects carried out in people’s spare time.

      posted in App Development
      gwadoG
      gwado