Hello,
When I use the app with the sleeping at phone Samsung S8 with android 7.0, at 5 minutes the app disconnects from wifi (even when it is debugmode disconnects from b4a)
Im use a Socket and AsyncStreams, and get this error:
I've tried this solution this post : http://www.b4x.com/android/forum/threads/httpserver-problem-solved.30968/#post-180606 and dont work
I think it is some from data-saving or anything... anyone know how can lock wifi when phone is locked, and don't disconnect?
thanks
When I use the app with the sleeping at phone Samsung S8 with android 7.0, at 5 minutes the app disconnects from wifi (even when it is debugmode disconnects from b4a)
Im use a Socket and AsyncStreams, and get this error:
B4X:
java.net.SocketException: Software caused connection abort
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:151)
at java.net.SocketInputStream.read(SocketInputStream.java:120)
at java.net.SocketInputStream.read(SocketInputStream.java:106)
at anywheresoftware.b4a.randomaccessfile.AsyncStreams$AIN.run(AsyncStreams.java:195)
at java.lang.Thread.run(Thread.java:762)
java.net.SocketException: Software caused connection abort
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:151)
at java.net.SocketInputStream.read(SocketInputStream.java:120)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
at anywheresoftware.b4a.shell.ShellConnector.readControlData(ShellConnector.java:191)
at anywheresoftware.b4a.shell.ShellConnector.connect(ShellConnector.java:186)
at anywheresoftware.b4a.shell.ShellConnector.run(ShellConnector.java:119)
at java.lang.Thread.run(Thread.java:762)
java.net.SocketException: Software caused connection abort
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:151)
at java.net.SocketInputStream.read(SocketInputStream.java:120)
at java.net.SocketInputStream.read(SocketInputStream.java:206)
at anywheresoftware.b4a.remotelogger.Connector.readData(Connector.java:123)
at anywheresoftware.b4a.remotelogger.Connector.mainLoop(Connector.java:84)
at anywheresoftware.b4a.remotelogger.Connector.run(Connector.java:53)
at java.lang.Thread.run(Thread.java:762)
writer error
java.lang.InterruptedException
I've tried this solution this post : http://www.b4x.com/android/forum/threads/httpserver-problem-solved.30968/#post-180606 and dont work
I think it is some from data-saving or anything... anyone know how can lock wifi when phone is locked, and don't disconnect?
thanks
Last edited: