Keeping Socket.IO connection alive after Android Crosswalk Embedded Webview onStop -


i have crosswalk embedded webview implementing socket.io , when activity stopped connection dropped after 20 seconds. how can keep connection alive?

  • crosswalk v12.41.296.9
  • socket.io v1.3.5
  • android sdk v22

if want keep connection alive have keep socket.io connection alive. socket.io connection keep alive have use service (not activity). service carry socket.io connection. when activity start service start, service run background of application , when activity stop service not stop, until tell him stop. can more knowledge service here.


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -