Any way to stream canvas data between Android and PC?

I want it to draw on my Andoird tablet, and send the canvas’s content in real-time(if possible) to a 3D software on my PC. My first idea was to write a Krita script that sends the drawing as a byte array to my PC via Python’s sockets API. However, it turns out that the Android version is not capable of running Python scripts.

My next idea is to write a small Android app, which checks if a file gets modified (In this case if a file is overwritten because it’s re-exported), and if so, send it to the software with the same method. This will probably work, but with this approach, I need to give up the real-time update.

Is there any better approach to solving this problem?

Just thinking about it, but why are you not using a cloud? Dropbox or Drive or a self hosted solution to save your data and the 3D software opens it there🤔

The only real possibility i can think of is to build this feature inside krita since plugins wont work.

Realtime streaming does not seem possible.

However, if you are near your system, you can use your tablet as a drawing tablet and krita and your 3d app can reside in your computer. They all have to be in same network. Samsung has this feature.

If you want to use krita and many more PC apps from your Android, with pressure sense, you can use SuperDisplay APK