Unsolved Is it possible to create android server using Qt?
-
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?
-
@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 Examplesall of them should work without much trouble on/with android
-
@J.Hilk I want to send some data from clients to the server. Then handle the data in the server.
-
@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.
-
@J.Hilk Thanks for suggestions. I thought about using sockets. Big question is if QtTcpServer works on android.
-
@m.kuncevicius its part of the
QT Network Module
which is part ofQt 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.