I checkde this link for show mjpeg on my android device.
I tested two links. One is sample link in example code. Other is my cam (APM-H804-WS) link. The problem happened only on using my cam link.
First executing works well. Turn off the screen, or press home button will make example app disactive. The problem happens here.
Other screen which I see cam's stops. If nothing doing and wait, it disconnected. If I kill example app by like task killer, screen re-starts to move. Even if resume app, it works same. The only way that problem doesn't happen is quickly reload app and wish it connects well. (with log 2. Request finished, status = 200)
No problem when use sample link. Also no problem when use 'IP Camera viewer lite'.
I don`t know where I should fix it...