I know how to start an android application on BOOT of device. I have done that in Java using a BroadcastReceiver. However, my isue is something else. I'm kinda stuck at this problem:
Problem: I'm using Qt for Android. I have a Qt file which listens for TCP/IP connections. Once the connection with the client is established, I start displaying images and sounds. However, I want this listening to be a background service which starts on boot of device. And only when the connection is established should the activity to display the images and sounds start. Any ideas on how to begin/implement? Do I have to use JNI?