Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Is it possible to create android server using Qt?
Forum Updated to NodeBB v4.3 + New Features

Is it possible to create android server using Qt?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
6 Posts 2 Posters 1.5k Views
  • 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.
  • M Offline
    M Offline
    m.kuncevicius
    wrote on last edited by
    #1

    Hello, I want to create local network with android devices. For example 1 server and 2-3 clients. Is it possible to do that with Qt?

    J.HilkJ 1 Reply Last reply
    0
    • M m.kuncevicius

      Hello, I want to create local network with android devices. For example 1 server and 2-3 clients. Is it possible to do that with Qt?

      J.HilkJ Offline
      J.HilkJ Offline
      J.Hilk
      Moderators
      wrote on last edited by
      #2

      @m.kuncevicius Really depends on what exactly you want to do, but generally: Yes its possible.

      For references take a look at these examples:
      Network Examples

      all of them should work without much trouble on/with android


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      M 1 Reply Last reply
      0
      • J.HilkJ J.Hilk

        @m.kuncevicius Really depends on what exactly you want to do, but generally: Yes its possible.

        For references take a look at these examples:
        Network Examples

        all of them should work without much trouble on/with android

        M Offline
        M Offline
        m.kuncevicius
        wrote on last edited by
        #3

        @J.Hilk I want to send some data from clients to the server. Then handle the data in the server.

        J.HilkJ 1 Reply Last reply
        0
        • M m.kuncevicius

          @J.Hilk I want to send some data from clients to the server. Then handle the data in the server.

          J.HilkJ Offline
          J.HilkJ Offline
          J.Hilk
          Moderators
          wrote on last edited by
          #4

          @m.kuncevicius ok than I would suggest QtTcpServer for data transfer.

          You'll have to look for something else, if you want to transfer files of significant size.


          Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


          Q: What's that?
          A: It's blue light.
          Q: What does it do?
          A: It turns blue.

          M 1 Reply Last reply
          0
          • J.HilkJ J.Hilk

            @m.kuncevicius ok than I would suggest QtTcpServer for data transfer.

            You'll have to look for something else, if you want to transfer files of significant size.

            M Offline
            M Offline
            m.kuncevicius
            wrote on last edited by
            #5

            @J.Hilk Thanks for suggestions. I thought about using sockets. Big question is if QtTcpServer works on android.

            J.HilkJ 1 Reply Last reply
            0
            • M m.kuncevicius

              @J.Hilk Thanks for suggestions. I thought about using sockets. Big question is if QtTcpServer works on android.

              J.HilkJ Offline
              J.HilkJ Offline
              J.Hilk
              Moderators
              wrote on last edited by
              #6

              @m.kuncevicius its part of the QT Network Module which is part of Qt Essentials so available on anything you manage to run a Qt-App on. So yes, I see no reason way it should not work on android.
              But in the end, you'll have to test that, with a small test program, to be sure.

              List of all modules and possible restrictions here


              Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


              Q: What's that?
              A: It's blue light.
              Q: What does it do?
              A: It turns blue.

              1 Reply Last reply
              1

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved