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

I think is possible develop app in ubuntu touch with kotlin?

Scheduled Pinned Locked Moved App Development
6 Posts 3 Posters 972 Views 2 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.
    • A Offline
      alvaroc127
      last edited by 7 Jun 2019, 21:02

      Hello, everyone, this is a idea !!!.
      my first impression after reading, Kotlin navite references, [https://kotlinlang.org/docs/reference/native-overview.html](link url), I think it's possible, but I do not have great known do it. In my head, opening development of app's for ubuntu touch with, differents languages ​​is a great oportunity, is this idea alone, but i want known, it is possible?

      1 Reply Last reply Reply Quote 1
      • A Offline
        arubislander
        last edited by 8 Jun 2019, 14:20

        I am guessing that qt or qml bindings, or better said, the lack thereof, would be an issue that could hamper wholesale uptake.

        πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
        Happily running Ubuntu Touch
        Google Pixel 3a (20.04 DEV)
        JingPad (24.04 preview)
        Meizu Pro 5 (16.04 DEV)

        A 1 Reply Last reply 9 Jun 2019, 00:38 Reply Quote 0
        • A Offline
          alvaroc127 @arubislander
          last edited by 9 Jun 2019, 00:38

          @arubislander, in this moment, i think, if bind we the kernel with Kotlin compiler, it open two forms of develop(see Andriod), in android, the developers, evaluated what is the best for your application's, use SDK o NDK , in the case of ubuntu touch, in my opinion is equal, exits case in the need a complete tools for apps. that can only be given to me the NDK, this is alone example in general.

          A 1 Reply Last reply 9 Jun 2019, 05:20 Reply Quote 0
          • A Offline
            arubislander @alvaroc127
            last edited by arubislander 6 Sept 2019, 05:21 9 Jun 2019, 05:20

            @alvaroc127 But what framework would be available for the UI of an app written in Kotlin?

            For instance. We have been able to write apps in Go and Rust for Ubuntu Touch for a while now. A big part of what makes this possible is that QT bindings have been written for these two languages.

            It would seem that there are only GTK bindings for Kotlin at the moment.

            πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
            Happily running Ubuntu Touch
            Google Pixel 3a (20.04 DEV)
            JingPad (24.04 preview)
            Meizu Pro 5 (16.04 DEV)

            1 Reply Last reply Reply Quote 1
            • D Offline
              dobey
              last edited by 10 Jun 2019, 13:04

              In short, no, it's not really sensible to write apps in Kotlin for UT.

              It makes sense for Android apps, because Android development platform is entirely based around Java, which Kotlin compiles into.

              If you must use Kotlin, the Kotlin/Native should be usable, but you would still need to write C++ to call into the Kotlin/Native library, and to drive the UI, which should be implemented in QML.

              1 Reply Last reply Reply Quote 2
              • A Offline
                alvaroc127
                last edited by alvaroc127 15 Jun 2019, 15:27

                @arubislander @dobey ,mmm ok, i belive understand, it is a problem in the frontend and backend?, example: in the best of case: i could use kotlin/kotlin native, but the result is a console app? or, in a develop of three lenguages in the case kotlin,c++ and qml. in the ultimate case, its clear, this is more work, in other words it possible, but in this moment not..?

                1 Reply Last reply Reply Quote 0
                5 out of 6
                • First post
                  5/6
                  Last post