Closed zerjillo closed 9 years ago
I have created a first version to check the TCP connection. At this point not detected any problems.
The next step will be a new app with INDI FOR JAVA to check connections with INDI server
Have you tried your test app for a long time? Do you avoid that the Android device closes the connection or destroy the App if it is in the background for a long period of time (an hour or two)?
No I haven't. I have done test 30 minutes but i will repite the tests with longer periods.
Test done. After 2 hours the connection was still open. You can open the connection and send some messages. You can only open socket using threads so although you send app to background the connection is kept open until APP is destroyed. If you try to open socket in main thread, android throws an exception.
all test done. There aren't problem with conections.
Since the INDI Client should maintain the connection to the servers even the the app is not in foreground a test app in which this kind of connections is stablished should be done and tested.