My glass/android app continuously receives data from other computer using TCP or UCP connection, and the received data are used for visualization on the fly.
I'm wondering how we can maintain a certain FPS (for example FPS 30), and also stably and continuously receive data.
Just having infinite loop for TCP data transfer seems causing some problems like device overheat, and occasional network halts.
So basically I'm wondering what is the best to visualize GUI while maintain a certain FPS and also continuously receive data over the internet.
Thank you so much!!!