MeshCentralAndroidAgent
MeshCentralAndroidAgent copied to clipboard
MeshCentral and auto launch on Android
Hi @Ylianst thanks for your great work in MeshCentral, i'm very grateful I like to can resolve a lot of problem with my devices, consider that a lot of Remote Control Software are pay to use. In this week i have tried the Android agent, written in Kotlin, and i've seen that the only use is that there isn't some working ForegroundService or something else. I think that, android speaking, seems useful an automatic connection so the server. I've study about that and i discovered in Android 11, for example, isn't possible "start on boot" application. I've tried with my team to work on ForegroundService on boot, that seems work, but after a few seconds the agent disconnected (maybe because ForegroundService permit also an ANR time, and over that kill the process). There is some implementation of this feature? Thanks again for your work!
Hi. I have not looking into starting the MeshCentral Agent on start of the device but as you point out, this is probably difficult or not possible unless you have root access to the device. If you do find a solution that works, please make a pull request and I will add it into the next version of the Android agent.
These is not implementation of this feature now and I am not looking into this short term.
Let me know if this helps. If you make any other improvements to the Android agent, please let me know. I will gladly add it.
There is a solution with the help of notification service which doesn't require root. I've made a pull request