Closed Sepero closed 7 months ago
Hi @Sepero, you have to understand that the app is divided into frontend and backend. What you see as a user is only the frontend, the backend can be started/stopped independently via the Intent Interface.
So an immediate start on frontend open is not something we will implement as it can already be done in a more generic and powerful way.
droidVNC-NG features a remote control interface by means of Intents. This allows starting the VNC server from other apps or on certain events. It is designed to be working with automation apps like MacroDroid, Automate or Tasker as well as to be called from code.
If I understand this correctly, is there no way to start the server from Termux directly? (Without need of proprietary apps?)
Not quite. You don't have to use specific apps, anything that can send ordinary Intents will do.
What would be the requited intent commands to start and stop the server?
What would be the requited intent commands to start and stop the server?
See https://github.com/bk138/droidVNC-NG/blob/master/README.md#remote-control-via-the-intent-interface
Perhaps you may know of an open source app that can send intents?
The ones I know are listed here: https://github.com/bk138/droidVNC-NG/blob/master/README.md#remote-control-via-the-intent-interface
Issue We want to start the server remotely, but..
To start the server remotely requires opening the app, then navigating the UI to press the Start button. It is possible to setup starting the with the API and ADB, but this is a time consuming and sightly advanced series of steps to follow.
Feature Request A tickbox that allows Starting the server immediately upon opening the app. Termux has an addon that allows it to launch other apps, so launching droidVNC can immediately start the server. This can eliminate the need for proprietary automation apps like Tasker.