Remote Linux compile and deploying to Android?
-
Hello, I was wondering if it's possible to develop and compile on a remote server(this part is not a problem), and after that deploy on Android device, connected to my working PC. I've searched, but didn't found what I was looking for. Any idea if this is even possible and if so, I would like to get some info how to do it? Thanks!
-
Hi and welcome to devnet,
Do you mean:
- Build on a distant machine
- Download the corresponding APK on your local machine
- Run it on your device
?
-
What do you mean by automate ?
Because the first thing you write about is developing on a remote machine.
-
I mean doing it in some clever and faster way than build, copy the apk to my PC, then copy and install on my Android . I'm reaching the remote machine with installed Qt by SSH, then I can write and build the program there. But the problem is that I don't know how to redirect the output APK file to my working PC and then deploy it. I don't know if I need to setup something special for Deploy step on the remote machine or something like that ? The idea is to use more powerful machine only for building the application, to save time between every change in the code and building it. Push the Run button on the remote machine's Qt and the app comes up on the phone connected to my PC. That's what I want to do. Thanks!
-
I don't think so QT has a feature like that but have you tried to create a bash code in your server to build and use ssh to transfer the output apk ?
-
I don't think this would help very much, it would only have advantage if I'm gonna move the apk on my own. Maybe if I can connect remote machine's Qt to my local Qt. And the build is done remotely, then the last deploy step is done by my local machine, so I don't have to manually install the apk on the phone.